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.

Hiding a Check Box or Radio Button

Featured Replies

Good day, need some guidance. 

I have a Field: "Document Type"

Options: "Picking Slip" or "Transfer"

Then I placed another instance on the "Document Type" field,

I configured the hide object on the second instance to only show if a selection was made on the instance.

Then, I configured the hide object on the first instance to show only if there is no selection. 

My issue is that I can't get the first instance to hide once a selection is made. I have tried "isempty" and "not isempty" with the field name and with the "self" keyword. 

What am I doing wrong? 

FYI... The idea is that once a user makes a document type selection, they can not change it unless they start over.

Thanks,

jmart

IsEmpty ( Self ) and not IsEmpty ( Self ) should work. But hiding will occur only after you exit the field.

 

More importantly:

33 minutes ago, JMart said:

The idea is that once a user makes a document type selection, they can not change it unless they start over.

I am not sure what exactly that means and how hiding one of the instances of the field is supposed to help. In general, if you don't want your users to do something you would restrict their privilege set.

 

  • Author
2 hours ago, comment said:

IsEmpty ( Self ) and not IsEmpty ( Self ) should work. But hiding will occur only after you exit the field.

 

More importantly:

I am not sure what exactly that means and how hiding one of the instances of the field is supposed to help. In general, if you don't want your users to do something you would restrict their privilege set.

 

Thanks for the clarification that it would only work on exit.

The intent is that once a new document is created and a user makes a selection, the second field is displayed with the value, but the browse function is not enabled, preventing the users from changing the value. 

 

Sorry, but from something this simple, would the privilege complicate things?

Thanks

Rudy

1 hour ago, JMart said:

The intent is that once a new document is created and a user makes a selection, the second field is displayed with the value, but the browse function is not enabled, preventing the users from changing the value. 

What if they inadvertently make the wrong selection?

 

  • Author

There is an option to cancel the entry and clear all the required fields. The issue I am facing is that I have users who switch document types after entering certain key information, and once they do, the entire record is disrupted. For this reason, I am compelled to prevent the document type from being selected. 

Thanks

I would probably make the field "view only" in their privilege set and set it by script. The script (running with full privileges) would check some condition before allowing the change: this could be the time that has passed since record creation or the record being a new record that hasn't been committed yet (provided you prevent accidental commits during data entry).

BTW Filemaker has a very nifty and often overlooked feature: you can give users the privilege to create records but not to edit them. This allows them to edit the newly created records until the end of the current session. But of course this would apply to all fields in the table.

 

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.