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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

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

[Solved] User Forms: Custom Fields, Add rule button doesn't do anything

Go to End

10 Posts   4214 Views


Community Member, 181 Posts

22 July 2010 at 8:43pm

Edited: 22/07/2010 8:43pm

Right. I've attached a patch to the ticket Willr raised, it's written against the trunk code so you'll need that too.

I've got a cold at the moment so would really appreciate another pair of eyes on it, make sure I haven't done anything really stupid!

This patch allows adding custom css classes to individual User Defined Form fields from within the CMS interface for complete control of form layouts

  • - add a css class to individual form fields, headings and html blocks
  • - predefine which classes a CMS user can select with a drop-down list
  • - predefine classes available for all field types and type specific at the same time
  • - optionally add user friendly descriptions for the css classes
  • - power user mode - text entry of multiple classes
  • - ability to disable the feature


Community Member, 245 Posts

25 January 2011 at 11:12am

How about ID's? You should be able to specify what you want the field to be named in the code. Even Wordpress Contact Form module does That. REALLY need this functionality and I can't be the only one.


Go to Top