Page 1 of 1
How to Stop URL's being entered in the Message box forms ?
Posted: Sun Jan 06, 2019 2:18 am
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
Re: How to Stop URL's being entered in the Message box forms ?
Posted: Sun Jan 06, 2019 8:49 am
by Pablo
Did you try server sided validation?

Re: How to Stop URL's being entered in the Message box forms ?
Posted: Sun Jan 06, 2019 9:10 pm
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
Re: How to Stop URL's being entered in the Message box forms ?
Posted: Sun Jan 06, 2019 9:16 pm
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.
Re: How to Stop URL's being entered in the Message box forms ?
Posted: Tue Jan 08, 2019 4:27 am
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
Re: How to Stop URL's being entered in the Message box forms ?
Posted: Tue Jan 08, 2019 7:32 am
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.
Re: How to Stop URL's being entered in the Message box forms ?
Posted: Tue Jan 08, 2019 9:05 am
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.