Skip Navigation

[Resolved] Textarea in frontend forms don’t display if contains link (a tag)

This thread is resolved. Here is a description of the problem and solution.

Problem:

In Toolset form settings under "content filter" I have ALLOWED a href tag, but still can not save HTML href tag in custom textarea field.

Solution:

It should be a compatibility issue, please check these:

https://toolset.com/forums/topic/textarea-in-frontend-forms-dont-display-if-contains-link-a-tag/#post-1645913

Relevant Documentation:

This support ticket is created 4 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by poulP 4 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#1644815
editor.png

Hi,

I have set up some front-end forms with toolset forms, which can be used and edited by registered users.
In a description field (textarea) the users use the classic editor (see pic)...
In Toolset form settings under "content filter" I have ALLOWED a href tag (user are allowed to set in links).
However when users put in a link either directly in text editor with html or in visual editor with use of link tool button,
then the FULL textarea (all content of description field) is not displayed/disappears when viewing the page /post after update.
So it seems for me that putting in links, even if I have allowed it and the editor has button for inserting links, gives an error.

How can I avoid this error. And if I can not avoid error, how do I disable the "inserting link" button in the toolbar in the editor?

Thanks,
Anders

#1645913

Hello,

The problem you mentioned above is abnormal, please check these:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2020, deactivate all custom PHP/JS code, and test again

3) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

4) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem page URL and form URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1646913

My issue is resolved now. Thank you!