I am trying to add the custom class on the form field, can anyone help me that how can i add or what will the flow to add custom class for form's fields
1 Answer
Here is the link to the doc describing what you want to achieve:
And here is copy paste from that page with main points so no one tells that it's a link only answer ;)
To create a custom CSS style:
In the
Website\sitecore modules\Shell\Web Forms for Marketers\Themes\
folder, in thecustom.css
file, define a new CSS style.In the Content Editor, navigate to the
sitecore/System/Modules/Web Forms for Marketers/Settings/Meta data/CSS Classes
folder, and in the right pane clickExtended List Item
.In the Message dialog box, enter the name of the CSS style, for example Short Date. Click OK.
In the right pane, in the Value field, enter the name of the CSS style. Click Save.
Your custom CSS style is now added, and you can apply it to any form field in the Form Designer.