Page 1 of 1

Label to the right of check box

Posted: 25 Mar 2017
by PMyers
Perhaps I am completely blind, but I was hoping to be able to get the check box label to display on the right of the check box, rather than the left. I can't seem to find a way to do this. Is it possible, without hiding the label and creating a new one?

Cheers,

Re: Label to the right of check box

Posted: 27 Mar 2017
by Dmitry Kozlov
Hi,
Hide the label in field's properties in Forms Designer and insert the following code into JS-editor:

Code: Select all

fd.field('FieldName').control()._el().find('input').after('Text after checkbox');
Replace 'FieldName' with the internal name of your Yes/No field and insert the text you want to display instead 'Text after checkbox'.