One button for submit and one for save - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

One button for submit and one for save

Last post 04-26-2013 06:18 AM by ErnestoM. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-25-2013 09:52 AM

    One button for submit and one for save

    I want to hide the ribbon, create a submit button on the form (done) and after the submitter clicks the "submit" button, the submit button disappears (done) and the save/update button appears and stays for all future updates to the form (need help with this part)

    Thanks -
    Clint
  • 04-26-2013 06:18 AM In reply to

    Re: One button for submit and one for save

    Hi-

    On the ribbon, Save and Submit are different operations.

    • Save: Allows the user to type in the filename.
    • Submit: submits the form to the form library according to the rules/data connections that have been configured.

    Once the user has submitted, allowing them to Save is probably a bad idea. They could type in whatever filename they want and you would end up with duplicate data or funny filenames.

    What you could do is:

    • Add a field to your form called FormStatus
    • When the form is first created, set this field to New
    • As part of the submit rules, add a rule that sets the value of Status to Submitted.
    • When the user reopens the submit and updates, have rules that set the value of Status to Updated.

    You are still submitting, and still using a submit-type data connection, but you can use the Status field to  track the form's status and, in addition, use the value to hide/show controls or sections in your form. For instance, you could hide a button if Status=Submitted or hide a section if Status=Updated.

    Good luck!

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


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