How to Stop URL's being entered in the Message box forms ?

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
cdasupport
 
 
Posts: 25
Joined: Wed Oct 22, 2014 8:23 am

How to Stop URL's being entered in the Message box forms ?

Post by cdasupport »

Asking this question as am fed up with spammers being able to enter urls into the message box on form.

I'm not asking anyone to say put antispam security, BUT am asking how to stop URL's being entered into forms ?

See images examples here:
http://prntscr.com/m3kyel
http://prntscr.com/m3kynl
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: How to Stop URL's being entered in the Message box forms ?

Post by Pablo »

Did you try server sided validation?

Image
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: How to Stop URL's being entered in the Message box forms ?

Post by BaconFries »

See the following... Note this is for information only no help is offered on how to implement it.
https://stackoverflow.com/questions/165 ... orm-fields
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Re: How to Stop URL's being entered in the Message box forms ?

Post by WWBman »

May not be what you want but a similar question was posted here viewtopic.php?f=5&t=83369
The simple example given sends the user to an error page if a url is entered.
cdasupport
 
 
Posts: 25
Joined: Wed Oct 22, 2014 8:23 am

Re: How to Stop URL's being entered in the Message box forms ?

Post by cdasupport »

Hi Pablo,
is checking that box going to do what I need, stop URLs from being enetered into form ?

______________

Hi WWBman

I replied to that link you showed, asking where are the validation codes and where are they inserted into the form, to add into my own form. I cant see anything in there that stops URLS from being entered


Cheers
Jason
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: How to Stop URL's being entered in the Message box forms ?

Post by Pablo »

is checking that box going to do what I need, stop URLs from being enetered into form ?
No, it is just an extra layer of 'security' to make sure the spammer did not disable JavaScript to bypass the validation.
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Re: How to Stop URL's being entered in the Message box forms ?

Post by WWBman »

cdasupport wrote: Tue Jan 08, 2019 4:27 am... Hi WWBman

I replied to that link you showed, asking where are the validation codes and where are they inserted into the form, to add into my own form. I cant see anything in there that stops URLS from being entered


Cheers
Jason
I've replied to your post.
Post Reply