Filter out html links in forms

Issues related to forms.
Post Reply
User avatar
Magical
 
 
Posts: 157
Joined: Thu Dec 14, 2017 5:08 pm
Contact:

Filter out html links in forms

Post by Magical » Wed Dec 05, 2018 6:20 pm

Greetings,

Does anyone have a process to filter out html links from Message box in a form? I keep getting links to porn sites and other offers in messages. They are always captcha validated and the same messages come from different IP addresses.

I would like reject it at both at the PHP and the web page level.

Thanks

User avatar
Pablo
 
Posts: 20107
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Filter out html links in forms

Post by Pablo » Wed Dec 05, 2018 6:49 pm

There is no standard solution for this, this will require a custom script.

WWBman
 
 
Posts: 795
Joined: Fri Jan 08, 2010 6:10 pm

Re: Filter out html links in forms

Post by WWBman » Fri Dec 07, 2018 6:54 pm

FWIW:
If you still want url checking in forms I have a simple test project that uses PHP.
I haven't included javascript checking because this can be easily circumvented by the user.

http://www.mediafire.com/file/5pv9t3dqd ... t.wbs/file

cdasupport
 
 
Posts: 30
Joined: Wed Oct 22, 2014 8:23 am

Re: Filter out html links in forms

Post by cdasupport » Tue Jan 08, 2019 4:19 am

@ WWBman Hello,

How are we to implement your sample above into our forms, there are no instructions here what to do or how to use it?

I'd like to know what codes you use to stop URL's in the message box and where to put the codes, if any?


Cheers
Jason B

WWBman
 
 
Posts: 795
Joined: Fri Jan 08, 2010 6:10 pm

Re: Filter out html links in forms

Post by WWBman » Tue Jan 08, 2019 9:04 am

The simple code is in the Form's Object HTML Custom Form Processing section.

Post Reply