Answer the question
In order to leave comments, you need to log in
How to set up validation in the job title?
Hello! I have many sites with profiles, where the user enters his full name, date of birth and many many other things, incl. data about your work. I use jquery validation and 3rd party dadata service .
Example
I
also use regexp: ^[А-Яа-яЁё\d\s\-\,\№\#\.\+\(\)"]+$
Sometimes users enter not only the name of the work, but also the street:
"LLC "TD POLITORG" Fadeeva 2d" or "Southport SAUNA DE LUX", etc.
Question: what can you think of (need an idea) to prevent the user from entering everything else, except for the name of the organization?
Add help-block: "organization name only"??
Change placeholder: "example: OOO "PTN"" ?
What else can you think of? Who has experienced this?
Answer the question
In order to leave comments, you need to log in
Use dynamic label and placeholder for refinement. Example
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question