Verify field on initial submit - InfoPath Dev
in

InfoPath Dev

Verify field on initial submit

Last post 01-19-2012 09:05 AM by Anson Hidajat. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-19-2012 06:48 AM

    Verify field on initial submit

    I have a shipping form that is used for international shipping.  When the form opens it autofills the shipping invoice number by adding 1 to the last invoice number in a SharePoint list.  The problem is that if multiple copies of the form are open at the same time they all get submitted with the same invoice number.  Is there a way to verify on the initial submission of the form that the invoice number is a valid number based on the list?
  • 01-19-2012 09:05 AM In reply to

    Re: Verify field on initial submit

    At submit time, you can have rules fire so that it does a check against your list to see if there is an existing invoice number.  You'll need a secondary data connection to the list and then do a query on the invoice number to see if it returns any results.

    Another option is that you could also create the invoice number on submit to ensure that it will always succeed.

    Anson Hidajat
    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.