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.

Show or hide fields based on criteria

Featured Replies

Hi All,

I currently have a script which chooses the output layout based on a clients language preference, which works fine, but I wondered if there was a way to just use one layout instead of seven by having a field show depending on which language preference is returned. I would then just create the field contents with the appropriate text merge parts in the various languages and just show the one required for output.

 

As ever, any help or just a "No, you can't do it" is appreciated.

Solved by doughemi

Go to solution

If there are only a few fields to be hidden/viewed, you can use the "visibility trick" as explained in this John Mark Osborne demo.

 

Or, if large portions of the layout change, you can use tab controls with 0 width tabs which are named objects, and a script that uses Go To Object steps, aka the hidden tab technique.

  • Author

Hi, thanks for the response. It is a single text field that will contain the same information, with the exception of the merge text, just in different languages. Unfortunately the link you provided does not work. I just get an error that says "

Sorry, we couldn't find that!"
  • Solution

 try this link: http://www.databasepros.com/list.php?search=visibility&submit=+Find+

 

But, your further explanation makes me think you just need a single-line portal to a table with a language field and a text field in the appropriate language.  Relate it to your language field in your main table.

  • Author

Thank you for your help, I went with the "Zero width Tab Control", I just hope that I don't need to change anything.

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.