Skip to main content

How to update the value in variable in theme template

I have a signups_edit.html in my custom theme. It has a variable 'profile_content_editable' for a textarea. I want to show some value as default whenever user is on this page. The page is opened, when user gets an email for account activation. The user can edit this value, but as default I want to show something there. How can I achieve this?

Official response from

Hi Genelia, 

You should be able to accomplish this by adding a "value:" attribute to the {% text_area "profile_content_editable", class:"textarea form-control" }  liquid varible  in the signups_edit.html file.

Once you add the attribute, your liquid variable should look like this ie. {% text_area "profile_content_editable", class:"textarea form-control",  value:"text goes here" } . 

If this does not work for you, let us know by sending us an email at [email protected] with the name of your nation. 

 
Share this post

Showing 4 reactions

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.