Jump to content

Limiting checkbox to only Yes or NO only not both


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

Recommended Posts

Hey everyone;

Just another video here to show you how to limit a checkbox options to only 1 or the other selection.

I have gone on to create a custom function for my library as this is something i need to keep on hand for the future.

here is the video on how to implement and i have also included the custom function for you.

enjoy;

 http://www.youtube.com/watch?v=YgDq71qaNWw 

limit.checkbox.calc.zip

Link to comment
Share on other sites

Firstly, checkboxes SHOULD allow multiple selections: that's their job. If you want to limit one selection then use radio buttons: that's their job. Please use the right interface tool.

What complicates the issue is that FMP's implementation of radio buttons *does* allow multiple selections (using shift-click). However it's easy to restrict the field to a single value using the auto-enter calculation:

GetValue( RightValues( self ; 1 ) ; 1 )

No need for a custom function.

Link to comment
Share on other sites

Vaughan, thanks for the notes, however i like to whole idea of having a function for use anytime so i dont have to

write the code over & over again. Just works better for me . I know you have your own style & i am just developing my own

as well, but thank you for the info it is greatly appreciated.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

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