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

Question

Question

Checkbox format for single response?

asked on June 28, 2016

One of our paper based documents I am trying to build in LF Forms requires a simple tickbox/checkbox if the task has been completed. (see attached the paper based format, simply tick and carry on).

 

The answer may be staring me in the face but what is the best field option to replicate the attached? I have a sentence relating to a procedure and the participant must simply tick if correct and carry on. LF Forms is not allowing me to have only one choiec (either checkbox or radio button) without it also being labelled ?

 

Any help or advice would be appreciated.

Paper based checkbox.JPG
0 0

Replies

replied on June 28, 2016

Christian,

If you're talking about not wanting a label for the checkbox SECTION, you can simply delete whatever name is in the checkbox field on the edit page.  If you don't want the labels associated with the checkboxes, you can use this line of code in the javascript section:

 $('.toDoList label.form-option-label').css('display', 'none');

The '.toDoList' name would be replaced with whatever the class name is for your checkbox field (set that in the edit section, click edit for the field, and choose advanced, enter a name under class section).  This would give you the following:

If you just want the text you indicated, you could use that as your labels, and adjust the positioning with CSS to move to the left of the checkboxes and pad the spacing as well. 

0 0
replied on June 28, 2016

You could also use this line in the CSS section so you know which ones are 'ticked' if the list needs completed before moving on to show an updated status:

 

input[type=checkbox]:checked + label {color: red};

 

This would give you the following:

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

Sign in to reply to this post.