Check fields entries before submit - InfoPath Dev
in

InfoPath Dev

Check fields entries before submit

Last post 05-25-2009 03:36 AM by swathip. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-25-2009 02:51 AM

    • cywan
    • Top 500 Contributor
    • Joined on 04-27-2009
    • Posts 32

    Check fields entries before submit

    Hi,

    In the InfoPath forms, beside using data validation to validate the mandatory fields, how can i achieve it by using only the submit button at the end of the form to validate first before save?

    This is because i dont want my fields to display screen tips by using the data validation. I wish to have the function where once user has fill in all the fields in the form and when click on 'Submit' button, the button will check whether the mandatory fields had been fill up before save. If the mandatory field not yet fill up then the form return a message to request user to fill up and re-submit the form again.

    Please advice how can i do the validation control in the 'Submit' button?

    Thanks.    

     

  • 05-25-2009 03:36 AM In reply to

    Re: Check fields entries before submit

    Hi,

    One way is in the button click event, check the length of the mandatory fields, and if any of the mandatory field length is zero then return a message. Otherwise submit the form.

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