I pasted a form to the <source code> in the content manager.
But the <input> tags are only showing but not the <textarea> tag.
It is almost like the editor is somehow skipping the tag after I paste it to the <source code>. (please see attachment)
Can someone explain to me why this is happening and is there a solution to this.
<textarea> tag not showing in browser
-
- Forum Members
- Posts: 62
- Joined: Wed Aug 08, 2018 4:59 pm
Re: <textarea> tag not showing in browser
Assuming you're using TinyMCE (or MicroTiny) ... some older versions of the editor would strip empty tags. So if there's nothing in your textarea to start with that might be the problem.
It's working fine for me here in the latest version though. You should try making sure you're up to date and then try with some placeholder content in the textarea.
It's working fine for me here in the latest version though. You should try making sure you're up to date and then try with some placeholder content in the textarea.
Re: <textarea> tag not showing in browser
It's also a good idea to not use WYSIWYG on html-heavy pages. Good options are to either disable wysiwyg for that page, or put the form in a generic template and just put the template call in the content instead:
The latter makes it harder for users to accidentally mess up the form, too.
Code: Select all
{include file='cms_template:myformtemplate}
Not getting the answer you need? CMSMS support options
-
- Forum Members
- Posts: 62
- Joined: Wed Aug 08, 2018 4:59 pm
Re: <textarea> tag not showing in browser
Thank you both for the info. I have everything working as it should now