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.

Field/button enable entry question

Featured Replies

hi there,

With the example file i have attatch, i have some question about the field or button entry. In this case, i have set 3 field with 1 button, the button only will come out when the 3 field is not empty. It just put the button into the portal with a self-relationship. Now i need to set another button in the same position which come with no finction and design with engrave(i have put it in the file that i attatch) , so that it will look like the button become engrave while there have some field empty, and when you click, it will no perform any action even change color(like normal we click a button). After we fill in all the field, the button will become emboss and can be click and perform certain script.

Another question is can it be done if this situation change to field, one field allow entry and another field do not allow entry. Is also in the same position. If it can be done, so i can let user to edit and view in the same layout, no need to set 2 layout.

example.zip

Hi,

have added a couple of bits to your file and am reposting here.

Create a global container field with 2 Repetitions to hold the on and off state for the button

Then Create a calc with a result of container that is

Case(IsEmpty(text) or IsEmpty(name) or IsEmpty(no), GetRepetition(zg_Container,1), GetRepetition(zg_Container,2))

And your script checks if any field is empty just exit the script, else show your message

example.zip

  • Author

hi Andy,

thank you for your reply, i have try the solution, it also can be done, but when i click the button, it still will run the script then check the condition, is that any way to totally don't neet to run the script, that's mean if condition is false, the button cannot be click, even chane the color(invert color).

The other question is if this time change to field, let's say i have another field call "Temp", if the condition true, i will let user entry, else the field will not allow user to entry.

Regards

Henry

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.