App Connect Data Formatter Support Product Page

Retain clickable links in a textarea field

Asked 08 Oct 2018 16:19:25
1
has this question
08 Oct 2018 16:19:25 David Woolley posted:
I have a textarea field that contains links as well as text.
I need to strip HTML tags like <p> & <br> using stripTags() but must retain the <a href> links in the field so that they are still clickable.
If I don't use the stripTags() formatter, the link is displayed as HTML.
Is there a way around this?

Replies

Replied 08 Oct 2018 19:49:06
08 Oct 2018 19:49:06 Teodor Kuduschiev replied:
Hi David,
You can't place a link inside a text area. A text area is designed to displaying text only content.
In order to do this you need a rich HTML editor.
Replied 08 Oct 2018 20:04:17
08 Oct 2018 20:04:17 David Woolley replied:
Hi Teodor
The text area field is populated by Advanced HTML Editor 3 dynamically.
It displays as a clickable link using HTML5 Data Bindings on the insert/update record pages.
Perhaps I should purchase the new App Connect Medium Editor ...

I'm converting the site to use App Connect page by page, focusing on the frontend pages first.
After this I'll convert all the backend admin pages.

Cheers
Dave
Replied 09 Oct 2018 08:00:17
09 Oct 2018 08:00:17 Teodor Kuduschiev replied:
If it is Advanced HTML Editor 3 it should be keeping the html tags. Can you send a link to your page?

Reply to this topic