Hello,
How to find out which fields should be char or digits.
forexample: my website is 'School Management' so how to know 'School Name' should char or chars with digits' for set it char validations.
like this for all fields which we want set char validations.


Joginder BangerRank #360 · 7K reputationPosted Nov 13, 2014, 12:41 AM EST
I give another example:
I make the employee Entry form. This form have many field like
Name TextBox // I don't know what is the user name
Sex Dropdown list or Radio Button // I know sex only two type simple why we used textbox.
In company have two working shift 9 am to 5 pm and 1 pm to 10 pm.
Timing dropDwon list or Radio Button
Regular Expression is most important role play in Validation. so learn about the Expression.
Joginder BangerRank #360 · 7K reputationPosted Nov 12, 2014, 8:35 PM EST
This type of validation no need. you know School Name is Required field so assign the Required filed validator and Phone number is required only Number then assign the Regex expression like this '[0-9]. You assume just which filed which type of data required.
Dawood AbbasRank #6,413 · 267 reputationPosted Nov 12, 2014, 8:54 PM EST
Iam beginner to this developing field so how to assume which filed is which type of data required.
because my TL assigned me a work 'making excelsheet about all types of fields input which values should be'
before this assign, He assigned me to test His developed Website and make a Excelsheet for all type of errors,so in that I noted him like this validation,so he assigned me this work you should know which field should which type of values user can enter,find from any where from Internet or any.
Joginder BangerRank #360 · 7K reputationPosted Nov 12, 2014, 9:06 PM EST
i trying make the school admission form.
Dawood AbbasRank #6,413 · 267 reputationPosted Nov 12, 2014, 9:56 PM EST
Example
1.School Name
2.Nationality
3.Income
4.Class last studied 2nd or second?
5.percentage 90 or 900%
6.Marks.
7.Identification Mark1,2
8.No of brothers/sisters studing in school. 2 or two
9.class 2,3 or second and third
so like these fields how to understand which value enduser should enter so we can restrict for it by implement validations.
Joginder BangerRank #360 · 7K reputationPosted Nov 12, 2014, 10:56 PM EST
1.School Name Required Field & regular expression use [a-zA-Z]
2.Nationality --------------Do-------------------
3.Income Required Field and Regular Express use ^[0-9]*$
4.Class last studied I Advice the Dropdown list
5.percentage Required field & Regular Expression use ^[0-9]{2}$
6.Marks.
Required Field & regular expression use [a-zA-Z]
8.No of brothers/sisters studing in school. Dropdown list
9.class Dropdwon list
I hope all most your problem solved.
Dawood AbbasRank #6,413 · 267 reputationPosted Nov 13, 2014, 12:29 AM EST
But how to understand like these things,from where we can get these types of informations
I tired by searching by 'fields validations standard formates' in google.