Jump to:

10929 Posts in 2613 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » [Solved] User Forms: Custom Fields, Add rule button doesn't do anything

Discuss all other Modules here.

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

Page: 1 2
Go to End
Author Topic: 2917 Views
  • TotalNet
    Avatar
    Community Member
    181 Posts

    Re: [Solved] User Forms: Custom Fields, Add rule button doesn't do anything Link to this post

    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

  • Garrett
    Avatar
    Community Member
    245 Posts

    Re: [Solved] User Forms: Custom Fields, Add rule button doesn't do anything Link to this post

    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

    2917 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.