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.

Disable Fields

Featured Replies

Hello,

I have a quick question. I have a layout that has two fields on it. Above those two fields I have a button. What I would like to do is have it so when you click the button it unlocks the two fields and allows data entry.

Is this possible? Before I converted to filemaker I was using MS Access and you could do conditional fields. So I would have a set of radio buttons and if Field1=0 then the fields are grayed out and if Field1=1 then they are not grayed out. This is the sort of thing I would like to do but if I do it with a script that's good enough for me.

Thanks

js22

The button can just simply toggle the field to a boolean value. Then on each field, you can have it be a button that runs a script iwth passing a parameter.

If [flag]

   If [ Get (ScriptParameter) = field1 ]

     Go to Field [Field1]

   Else

     Go to Field [Field2]

   End If

Else

   Show custom Message ["Can not modify"]

End If

Or you can take a look at these methods.

Visibility technique

Raybaudi's permission sample

  • Author

Thanks,

I'll toy around with the code. I looked at the attachments and I think between them all I can get what I'm looking for.

js22

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.