AnsweredAssumed Answered

scripting buttons

Question asked by harringg on May 15, 2012
Latest reply on May 16, 2012 by harringg

Title

scripting buttons

Post

I've got a text field set as Checkbox Set with Values of "1".

Two part question: Can I make the checkbox larger?  Position>Size 0.36 x 0.36.  Making size larger shows the value of "1" on the form, and when I make a form for iPhone, it's hard to push the buttons on the small screen.  Is there a way to make that checkbox larger, but not show the label?

Sizebox

What I did was make a large Rounded Rectangle, added the following script: 

If [TABLE::Field1=1]

Set Field [TABLE::Field1;0]

Else

Set Field [TABLE::Field1;1] 

End if

This shows the checkbox filled if Field1=1.

checkbox

Is it possible to have two Rounded Rectangles, one colored red, one colored green that is "hidden" unless it's Field1 is set to 1?


That would elimnate the need for the smaller checkbox altogether, yet visually provide feedback if that box is checked (true).

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Outcomes