Try our conversational search powered by Generative AI!

MVC: XForm - field CSS classes aren't rendered

Found in

Release 7

Created

Jul 24, 2013

Updated

Apr 30, 2014

Area

Falcon/CMS/Core/XForms

State

Closed, Fixed and Tested


Steps to reproduce

The outputted HTML for a XForm does not contain the CSS classes defined for the XForm fields.


Repro steps:
1. Create or change an XForm
2. Set one of the fields to have a CSS class defined
3. Use the XForm on a MVC site

Result: the HTML does not contain the css classes <input id="Name" name="Name" size="50" type="text" value="">
Expected: The classes are rendered. <input type="text" id="Content_Content_MainContent_ctl03_ctl00_ctl03_ctl01_ctl03_ctl01_ctl01_Name" name="ctl00$ctl00$ctl00$Content$Content$MainContent$ctl03$ctl00$ctl03$ctl01$ctl03$ctl01$ctl01$Name" class="testcss" size="50" value="">