Developer forum

Forum » Templates » Forms for editors - switch of label and checkbox

Forms for editors - switch of label and checkbox

Lise T. Pedersen
Reply

In the defaultform.cshtml template, I would like the labels for the checkboxes to be switched, so the labels are placed at the right side (like in the old standard form) - but I am not sure how to do it, and hope to get some help here...

My forms example, as it looks now...
http://www.tidligtirsdag.dk/Default.aspx?ID=1421&Purge=True

Thanks!

Lise


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Lise

If you use Checkbox list instead, it would have done that. See dump.

Attached a template that does that differently - renders labels for checkboxes on the right.

NP

Capture.PNG
Votes for this answer: 1
 
Lise T. Pedersen
Reply

Thanks! I converted an old form, and wasn't aware of the checkbox-list possibility. I'll have a look at it!

/Lise

 

You must be logged in to post in the forum