L
Learner
Hi Friends,
I have two things that I am running short of ideas on how to solve.
I am working on medium sized search form where in I will have to do
considerable validations befor it submits the form.
1).I have to put a validation on a text box ( _txtVIN ) such that it
min and max charecters should be 8. In other words user shouldn't be
able to enter more than 8 charecters of the total VIN numner. At the
same user must enter 8 charecters if at all he eneters some thing in
the text field. I have put the max length property to put a cap on the
number of charectors entered. But no clue how do I do it in the case
min of 8 charecters?
2). I have 3 text boxes. I need to make sure that atleast one filed has
the text in it before it submits the form. In other words user must
enter atleast a value in any of the text boxes. I am not sure what
control would do best to do this?
say _txtYear, _txtMake, _txtModel and the form shoudln't submit unless
user provides atleast a value in the respective fileds.
Any inputs is greatly appreciated,
Thanks,
-L
I have two things that I am running short of ideas on how to solve.
I am working on medium sized search form where in I will have to do
considerable validations befor it submits the form.
1).I have to put a validation on a text box ( _txtVIN ) such that it
min and max charecters should be 8. In other words user shouldn't be
able to enter more than 8 charecters of the total VIN numner. At the
same user must enter 8 charecters if at all he eneters some thing in
the text field. I have put the max length property to put a cap on the
number of charectors entered. But no clue how do I do it in the case
min of 8 charecters?
2). I have 3 text boxes. I need to make sure that atleast one filed has
the text in it before it submits the form. In other words user must
enter atleast a value in any of the text boxes. I am not sure what
control would do best to do this?
say _txtYear, _txtMake, _txtModel and the form shoudln't submit unless
user provides atleast a value in the respective fileds.
Any inputs is greatly appreciated,
Thanks,
-L