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

Featured Replies

I currently have a field which appears like a radio button yes/no format and have been useing a script which when the field is yes then it goes to a new layout or if no it fills in the no and lets you go on to the next field. I want to be able to adapt this so if the field is yes it goes to one layout and if no it goes to another. However the way i have it set up the field is blank to start with and when you first click on it , it will go to no then you click a second time it goes to yes...the problem is that when it first goes to no it follows the script and takes you to te no layout, so you have to then go back amnd click a second time...not very neat.

the script I am current useing is

If (layout::field = "No")

Set field (layout:field; "Yes")

Go to Layout (new layout )

Else

Set Field (layout:field; "no")

go to Layout (new layout)

End If

Hello KirtsyB,

I guess there are a number of ways you could handle the situation you've described, but the simplest method might be to have two buttons side by side - one each for 'yes' and 'no'.

To add some finesse to this, you could set them up so the one that has been clicked lights up or whatever (using a calc and/or a container field etc).

Beyond that you could consider a range of other tricks, including making it possible to set the field directly to 'No' by holding the shift key down while clicking. Eg:

If [layout::field = "No" and not Mod(Get(ActiveModifierKeys); 2)]

Set Field [layout:field; "Yes"]

Go to Layout [layout1]

Else

Set Field [layout:field; "No"]

Go to Layout [layout2]

End If

Just throwing some ideas around here. The possibilities are almost endless, and it really depends on how you want it to work from the user's point of view. wink.gif

Create an account or sign in to comment

Important Information

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

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.