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.

Scripts to Control Layout?

Featured Replies

Can I use scripts to control the properties and presence/absence of layout elements such as buttons, fields and text? For example say I needed to have "SendReminder" button to appear only when overDue>1. If overDue = 0 the button should not appear the layout.

How would I go about that?

-ilya

There are a couple of demos here around about this feature.

It's called "Visibility" and was introduced (I just hope I'm not wrong) by J.M. OSBORNE.

In the attachment section, at the entrance, check for an attachment called "hide button" or just make a search on "visibility" here or at FMFiles.com.

  • Author

The visibility discussiong is very informative. Is there way to control properties of layout elements? For example would it be pissible to change the color of type based on the value of a field?

Absolutely,

This would be done by a calculation based upon a global container field.

Put your color graphics in a container g_container.

Then the calc is c_showcontainer= Case(your value>number, GetRepetition(Container,1),"")

You could show as many colors as you wish, if you had more than one condition.

Paid, partly paid, Not Paid is the classic example.

Then, c_showcontainer = Case(value =Not Paid, GetRepetion(Container,1), value =Partly Paid, GetRepetion(Container,2), "")

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.