asma
asma

Reputation: 2825

Allowable characters in a web form

I have always been confused that which characters should be allowed in which field of a web form. I am just finding a list like First Name can have A-Z and a-z etc. Can anyone please tell me the same thing for all the fields for the form below? [Please note that the website is UK-based so the UK standards we need to follow].

enter image description here

Upvotes: 0

Views: 123

Answers (1)

Madara's Ghost
Madara's Ghost

Reputation: 174957

Why would there be a limit on how a person can call himself or the place he lives in? Post code changes between countries and regions. Any of those fields might be in different languages in the future, too.

In short, there's no reliable way to determine allowable characters, you just need to make sure that if I decided to call my kid Robert'; DROP TABLE Students; --, that it doesn't have negative effects on your code. Bobby tables is a valid name.

Upvotes: 2

Related Questions