You are viewing limited content. For full access, please sign in.

Question

Question

checkbox checked/unchecked based on single line value

asked on January 10, 2017 Show version history

I would like to check or uncheck a box based on a single line value. Meaning if the single line field value = 1 the box is checked if the value=2 the box is unchecked.

0 0

Replies

replied on January 10, 2017

You would have to do that through javascript.  Select the field by field number.

If Field1 was you checkbox the following should check it.

document.getElementById('Field1').checked = true;

Or use false to uncheck it.

Do an IF statement and if your Single Field (by ID) = 1, then use the above line, else use the False.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.