Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Changing the Right Label in User Defined Forms


3 Posts   421 Views


10 June 2012 at 2:31am Community Member, 8 Posts

Hi all,

Just getting started with SS, and pretty well set. But I can't for the life of me figure out how the forms are getting spit out from the UserDefinedForms module.

Basically, right now it goes:

<div class "EditableTextField">
<label class="left">
<div class="MiddleColumn">
<label class="right">

I need to move .right about the input in Middle Column (since they really aren't floating anywhere). I've looked through the templates and model (under "codes") but I can't for the life of me figure out where to make the switch.

Any help greatly appreciated,




10 June 2012 at 1:26pm Forum Moderator, 5511 Posts

Userforms uses the built in form classes in SilverStripe. In 2.4 these are hard coded in the form field classes (see the function Field() and FieldHolder) on the form field you're adding ( Your best bet is to use CSS to control the positioning.


13 June 2012 at 2:20am Community Member, 8 Posts