You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#111149 How to prevent links inside a form (JS Support Ticket)

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by icinfo on Tuesday, 31 May 2022 09:33 BST

icinfo
Hi,
I use JCE editor in a form (JS Support Tickets). I would like to prevent ticket-form user to add links in the text-box (https:// or http://...). I added html-clean up and set "link" as prohibited attribute. But when filling the ticket form and adding a link in the message-box, the link still appears in the ticket in the backend.

You can see the form here:
https://www.semba.fi/viestikeskus/addticket

Is there a way to prevent any https:// or http:// inside the form using JCE editor?

- Anne

Ryan
I added html-clean up and set "link" as prohibited attribute.


The Prohibited Element should be a, as in Joomla

https://cdn.joomlacontenteditor.net/tmp/111149-how-to-prevent-links-inside-a-form-js-support-ticket.jpg

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

icinfo
Hi,
thank you! The actual link does not work anymore. It shows but does not work. Thank you!

- Anne