Another ? from me: How to Validate Button....please see below details. - InfoPath Dev
in

InfoPath Dev

Another ? from me: How to Validate Button....please see below details.

Last post 03-10-2009 10:19 PM by swathip. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-10-2009 11:49 AM

    • Nick Tran
    • Not Ranked
      Male
    • Joined on 03-06-2009
    • Houston, Texas
    • Posts 9

    Another ? from me: How to Validate Button....please see below details.

    Example:

    I created a "Customer Info" home page with validation and rules "Cannot be blank" as required field (so customer must apply their contact info) before click on the "GO>>" button to another "View" page called "Configurations"

    "GO" button with "Rules" as following:

    Action 1: Show diaglog box expression: "All above REQUIRED* fields must be complete to enable the following features"

    Add Action 2: Switch to View: "configurations"

    When I "Preview" the form without fill out any of the "Required" fields, click on the "GO" button a pop up diaglog box open telling user per expression above (which is good): after click "OK" the screen is automatically switch to the "Configurations" view (that's not good).

    Question: How can I validate this button is stay in the "customer Info" page if the user is not completed to fill out all of the requirement fields and once user complete filled the requirement fields click on the "GO" button will switch to another view (configurations).

    Thanks in advance!

    Nick Tran 

     

     

     

  • 03-10-2009 10:19 PM In reply to

    Re: Another ? from me: How to Validate Button....please see below details.

    Hi,

    Add a boolean field to the data source with default value as false. Set this field to True when there are no errors in the form. And add a condition to the second rule as if the above field is tru then switch to ‘Configurations' view.

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