Associating built-in Submit Options - InfoPath Dev
in

InfoPath Dev

Associating built-in Submit Options

Last post 08-12-2013 06:53 AM by Newbie 2013. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-08-2013 09:16 AM

    Associating built-in Submit Options

    Hello and thanks for reading,

    Is there a way to associate the built-in submit options (this allows success/error messages) with a custom button I created for the form? Using InfoPath 2010

    Update:

    The question is incorrectly stated - the reason I asked this silly question was because of my issue with the form. I have custom buttons (submit and save) on the form, when a user "submits" the button disappears and my "save" button appears no matter if the user correctly filled out the form or not. I want to "Submit" button to stay visable when they incorrectly (validation errors) fill out the form and hides when they do correctly fill out the form. I'd like to have the built-in submit success/error messages presented to the user.

    Thanks

  • 08-10-2013 10:48 PM In reply to

    Re: Associating built-in Submit Options

    Hi Noob 2013 and welcome,

    Using buttons to implement Save and Submit and disabling the built-in File-> options is a best practice. Bravo to you.

    Save should always save even if there is a validation error. To achieve this, you need to clear the errors in the form. You can use qRules ClearErrors command to do this.

    Submit should be disabled on Save since the user could have saved with invalid data and you don't want to allow a submit after the errors have been cleared.

    I'm attaching a sample. Email me if you have Q.

    Patrick Halstead
    Project Manager at Qdabra
  • 08-12-2013 06:53 AM In reply to

    Re: Associating built-in Submit Options

    Hi Patrick and thanks for your response,

    The form first populates “document name” and the submit data connection adds “DocumentName” rather than “formName”.  

    A picture is worth a thousand words so I’ve attached my setup. Again thanks so much for any help!

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.