how to date validation
-
hello everyone, I have small doubt regarding DateValidation.I have a textbox and button in a webform.aspx page .When i enter a date and click on button the corresponding date validations should be done and dateformat should be in dd/mm/yyyy format only.Plz help in write it is very urgent for me,... ok byeee Murali Murali
-
hello everyone, I have small doubt regarding DateValidation.I have a textbox and button in a webform.aspx page .When i enter a date and click on button the corresponding date validations should be done and dateformat should be in dd/mm/yyyy format only.Plz help in write it is very urgent for me,... ok byeee Murali Murali
SSK.
-
hello everyone, I have small doubt regarding DateValidation.I have a textbox and button in a webform.aspx page .When i enter a date and click on button the corresponding date validations should be done and dateformat should be in dd/mm/yyyy format only.Plz help in write it is very urgent for me,... ok byeee Murali Murali
ballameharmurali wrote:
dateformat should be in dd/mm/yyyy
You can use this regular expression to validate this
\b[0-9]{2}/[0-9]{2}/[0-9]{4}\b
-
ballameharmurali wrote:
dateformat should be in dd/mm/yyyy
You can use this regular expression to validate this
\b[0-9]{2}/[0-9]{2}/[0-9]{4}\b
he asked for Javascript not the Regular expression.
SSK.
-
hello everyone, I have small doubt regarding DateValidation.I have a textbox and button in a webform.aspx page .When i enter a date and click on button the corresponding date validations should be done and dateformat should be in dd/mm/yyyy format only.Plz help in write it is very urgent for me,... ok byeee Murali Murali
-
he asked for Javascript not the Regular expression.
SSK.
Vri SSK wrote:
he asked for Javascript not the Regular expression.
Is it., After getting regular expression, still he don't know how to integrate that with javascript,. it's shame on him. He can integrate this expression with javascript and that will give the result what he expected.
-
Vri SSK wrote:
he asked for Javascript not the Regular expression.
Is it., After getting regular expression, still he don't know how to integrate that with javascript,. it's shame on him. He can integrate this expression with javascript and that will give the result what he expected.
Let him try, we have helped him in all aspects.still no reply from him.
SSK.
-
hello everyone, I have small doubt regarding DateValidation.I have a textbox and button in a webform.aspx page .When i enter a date and click on button the corresponding date validations should be done and dateformat should be in dd/mm/yyyy format only.Plz help in write it is very urgent for me,... ok byeee Murali Murali
HI murali U can do that easily by using compareValidator. Set belove property of compareValidator. Type="Date" ValueToCompare="01/01/1901" ControlToValidate="TextBox1" ErrorMessage="Enter valid date" SetFocusOnError="True" Operator="GreaterThanEqual" Best Regard Pathan
GOD HELP THOSE WHO HELP THEMSELVES