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.

Peekaboo Fields

Featured Replies

Okay...I've tried everything my newbie brain can think of. I need a script that I can attach to a button to do the following:

Button is placed in "Layout A". When this button is clicked, needed script looks at "Field1" in "LayoutA". If "Field1" isEmpty then "Field2" in "LayoutB" (not a typo, a seperate Layout) is set so it can not be entered in Browse mode...effectively making it hidden. Finally we go to "LayoutB" (don't need help with that part!) smile.gif

Of course the opposite would also be true, that is if "Field1" not isEmpty then "Field2" would remain visible/enterable. Any suggestions would be appreciated.

Thanks in advance.

Here is the simplest way:

Enter layout mode. Duplicate LayoutB. Rename the new layout LayoutC. Remove Field2 from LayoutC.

Make the script:

If [ IsEmpty ( Field1 ) ]

Go to Layout [ LayoutC ]

Else

Go to Layout [ LayoutB ]

End If

  • Author

Actually, overnight I had just thought of doing basically what you are suggesting. However, in the actual thing I'm working on this would mean I'd have to create 15 different layouts to cover all of the possibilities. I was hoping that there was a way to achieve this more dynamically using LayoutA as the "Template Builder" so to speak, with LayoutB being the result.

  • Author

Will do...thanks for the link. smile.gif

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.