Question
1
Replies
385
Views
Morgan Stanley
Posted: July 3, 2017
Last activity: July 6, 2017
Closed
CSS Class name of Text Area
Hi,
How can we change the CSS class name of few of the Text areas. When I am seeing the class name for Text area it is showing as TANORM.textAreaStyle as the class name. I want to create a new class as associate it with few of the text areas ( create a new control by saving text area control) and the rest of the text areas should have the OOTB Class Name.
Any pointers or suggestion ?
***Edited by moderator, Maryrita: moved to Product Support from Applications***
Hi FaheemuddinM8015,
Yes, The default text area control is associated with class="TANORM textAreaStyle".
If you would like to attach your classname to your text area control then your text area must not use the id as "pyTemplateInputBox". If you save as the OOTB text area control then it uses then the associated RUF(pzGenerateTextArea) which regenerate the HTML markup. In that TANORM class will be appended.
To achieve your requirement, I would suggest you to uncheck the Auto-generated check box in HTML tab of your custom text area control and compose your text area using HTML script. You can take the reference of below script if you would like to..
<textarea id="yourid" class="yourclassname" name="yourname" rows="5" ></textarea>
Please feel free to reply your thoughts if any
Thank you,