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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   5211 Views

Avatar
TotalNet

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

Avatar
Garrett

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.

//Garrett

Go to Top