My own Submit and Update Buttons with "Cannot be blank" not working... sort of... - InfoPath Dev
in

InfoPath Dev

My own Submit and Update Buttons with "Cannot be blank" not working... sort of...

Last post 05-01-2012 06:21 AM by TxSteve. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-01-2012 06:16 AM

    My own Submit and Update Buttons with "Cannot be blank" not working... sort of...

    I've got a simple form with six text boxes. I have three fields set as Cannot be blank. I have added a submit and update button to my form thus making it easy for staff to click Submit. It writes to my form list within SharePoint and places a concat function of a code from one of the fields and the Now() to add the unique time stamp which creates my form name. Everything has been working fine... except...

    When a user is populating a form for the first time and they leave a field blank and press submit, the form will present a message to the user that the field cannot be blank. However the form data is still passed to sharepoint. How can I abort the form from moving forward if the cannot be blank data needs to be populated first. Hope this makes sense. 

  • 05-01-2012 06:21 AM In reply to

    Re: My own Submit and Update Buttons with "Cannot be blank" not working... sort of...

    LOL! Wow, sometimes can't see the forest for the trees... :)  So I went to my submit button and added rules that said if field1 is blank, hide this control, if field 2 is blank and so on.... So now the user doesn't even get a submit button until they put data within each field. simple...

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