AnsweredAssumed Answered

How to write scripts to CHECK or UNCHECK checkbox option

Question asked by jsml on Dec 7, 2016
Latest reply on Dec 22, 2016 by leish2

Please do not say "replace field contents"!

 

Say I have a field with numerous checkboxes as options. I want to CHECK or UNCHECK a certain checkbox for all the fields in my found set. I do NOT want to replace.

 

This is the script I have now for check. But it replaces rather than ADDS a checkmark.

Screen Shot 2016-12-07 at 8.28.31 PM.png

 

This is the script that i have now for uncheck. I am not sure what it does and my brain is scrambled.

Screen Shot 2016-12-07 at 8.27.54 PM.png

 

 

FYI: I am using FileMaker Pro 14 and have very little understanding of scripts so you have to really explain things to me. I wrote both these scripts so long ago, I can't even follow them. I do have experience with functions, but mostly in Excel.

 

I believe philmodjunk tried to help me years ago, but for some reason, the forum has lost the links to all the posts I was following or participated in.

Outcomes