Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6598 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have built a simple survey that I intend to administer using IWP. I want to require that a field is not empty before the user moves to the next question, so I am using the following script:

If[survery::q1_result = ""]

Show Custom Dialog ["Error";"Please complete the fields on this page."]

Else

Go to Layout ["Survey_p2"]

End If

Problem is, of course, Show Custom Dialog is not IWP compatible. I started out with field validation but that did not seem to work as the error was produced for all questions on the first question layout.

Any suggestions? Thanks.

Posted

My only solution to this problem was to use separate layouts and fragment scripts around them. If you're talking about a bunch of standardized error messages, you could set up a single error layout and select the appropriate error message from an errors table.

HTH,

David

Posted

Thanks, this might work. I only have the one error message (Please complete the survey question before preceeding) and I can return the user to the previous layout (the survey question).

This topic is 6598 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.