Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Allow only one check box to be selected?


This topic is 6648 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a field consisting of two check boxes for the two choices in the value list. I have the field validation set up for "not empty" but how do I allow only one of he checkboxes to be selected?

Thank you.

Posted

Hi Lee,

Consider using radio buttons instead. That is their purpose - to allow only one or the other to be selected.

LaRetta :wink2:

Posted (edited)

Does this require 8.5? I'm getting unknown script-steps and function missing in tickbox_All calc.

Oops yes ... tickbox_All parameter, object name. I guess it's time to upgrade. :

Edited by Guest
Posted

Double ooops ... I had unzipped dynamicTickbox (which is certainly 8.5) instead of single checkbox! Too much on my desktop today to play with ...

Posted (edited)

Nicely done. A nice advantage of Michael's solution over using a radio button set is that its behavior can't be overridden with a shift-click, as is the case with radio buttons. The only minor pitfall I can see is a potential to cause confusion with experienced FileMaker end-users that expect the checkbox set to behave normally, i.e. able to make multiple selections. But that could be addressed with a little ingenuity in the user interface design.

Edited by Guest
Posted

Hmmm... I really did it just for fun. But if you do need a radio button that can't be overridden with a shift-click, just change the field's format to radio - it will work the same way. In fact, even if the field is formatted as an edit-box, it will still keep only the last (bottom) value.

Posted

Hmmm... I really did it just for fun.

Never underestimate the benefits of fun. :tigger:

But if you do need a radio button that can't be overridden with a shift-click, just change the field's format to radio - it will work the same way.

Good point.

This topic is 6648 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.