Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

IWP field not empty calc, custom dialog?

Featured Replies

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.

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

  • Author

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).

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.