This topic contains 2 replies, has 0 voices, and was last updated by Anonymous 12 years, 1 month ago.
- July 26, 2009 at 7:18 pm #261
I want to make sure users fill mandatory fields before being allowed to the next page. I’ve tried 2 different (unsuccessful) strategies so far:
1. In the “Page Button Properties”, there is only 1 behavior available: “PageButton is shown”. I don’ understand why there’s no “PageButton is clicked” behavior. That would allow me to add a behavior associated to the clicked button and check for mandatory fields.
2. In the “Page Properties”, I set a behavior for when the page is closed. In the behavior view, I have a “Check Mandatory” object for 4 objects (Name fields, telephone field, etc…). In the “Check Mandatory Properties”, the “Stop execution if check fails” is checked. When previewing & testing the form, I get a warning when mandatory fields are not filled. So far so good. However the form leads me to the next page instead of stopping on the current page.
How can I implement what I’m trying to do, i.e. forcing users to fill mandatory fields before going to the next page?
ThanksJuly 27, 2009 at 5:02 am #4692
Don’t use a Page Button – use a normal button. Then you will have a Button is Clicked behavior. Use a Mandatory check object, then link to a Page object and select where you want it to go (Next Page probably).
Cheers.July 31, 2009 at 12:16 am #4700
This is working great. Thanks!
You must be logged in to reply to this topic.