Thanks for the reply. 

Field length is managed by validators i.e.:

interested.elements.email.options.validators.strlen.options.min = "2"
interested.elements.email.options.validators.strlen.options.max = "50"

I am not actually worried about the user putting incorrect data into any of
the fields. The information is being collected on an interest form which
administrators look at to approve or deny - with all the problems we are
experiencing with foreign characters we are leaning more towards the input
of what ever they like as long as it has no negative effect on the website
(sql statement problems or XSS etc).  

I am not really keen on the idea of storing potential XSS code in the
database and removing it when its displayed, I don't mind this as an added
precaution but storing it seems a bit risky. Would it be sufficient enough
to prohibit the insertion of < and > in the fields using regular expression?
I am not 100% sure of all the scripting languages but the ones I can think
of use these to start.

What do you think?

-- 
View this message in context: 
http://www.nabble.com/Foreign-Characters-tp21497453p21498327.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to