10377 Posts in 2192 Topics by 1709 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 224 Views |
-
Changing the Right Label in User Defined Forms

10 June 2012 at 2:31am
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,
Best,
Martin
-
Re: Changing the Right Label in User Defined Forms

10 June 2012 at 1:26pm
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 (http://api.silverstripe.org/2.4/forms/core/FormField.html#methodFieldHolder). Your best bet is to use CSS to control the positioning.
| 224 Views | ||
|
Page:
1
|
Go to Top |


