We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

textarea not displaying text from channel

How Do I?

andrew001's avatar
andrew001
136 posts
5 years ago
andrew001's avatar andrew001

I’m creating a front-end form for logged in users to edit their entry. Everything is working fine except for the text area. If I render it in the most basic format like this:

<textarea>This is test text</textarea> = works fine <textarea>{teaser_text}</textarea = will not display the text. As soon as I add the brackets, it wont render the text. Looking at the source code also shows no text.

I do have a rich text field right below it, and that is working, although I had to add:

[removed][removed]

to the page to get it to work.

Any idea how to get the textarea to display text from the channel?

       
andrew001's avatar
andrew001
136 posts
5 years ago
andrew001's avatar andrew001

I added class=”” to the textarea and now it works as intended. Weird.

       
Robin Sowell's avatar
Robin Sowell
13,158 posts
5 years ago
Robin Sowell's avatar Robin Sowell

It sounds like some javascript might have been running astray? But definitely a weird one.

I think adding the class is a solid solution to it, though the whole thing is odd!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.