Hi,
I'm looking to add anti-XSS validation to some free text fields. So, I want to stripp out <> & some other characters. Unfortunately, the CE alpha-numeric validation is not for me, as it disallows spaces. I guess the regex used could be changed to allow spaces?
Perhaps, an enhancement would be to add a customisable validation field, where the user (ie form owner/developer) adds the characters that should be disallowed or stripped out before submission. CE then builds a regex using this input??
In the meantime, suggestions are welcome.
Thanks,
Eddie
I'm looking to add anti-XSS validation to some free text fields. So, I want to stripp out <> & some other characters. Unfortunately, the CE alpha-numeric validation is not for me, as it disallows spaces. I guess the regex used could be changed to allow spaces?
Perhaps, an enhancement would be to add a customisable validation field, where the user (ie form owner/developer) adds the characters that should be disallowed or stripped out before submission. CE then builds a regex using this input??
In the meantime, suggestions are welcome.
Thanks,
Eddie