Label to the right of check box

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
PMyers
Posts: 1
Joined: Thu Mar 16, 2017

25 Mar 2017

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,

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

27 Mar 2017

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'.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests