Hi Tasos,
I aslo tried out with client script validation.
I will give u details of my requirment.
I am having a contact us form and a search filed on the same page.
The search box is included in a usercontrol and I am validating it using
javascript validation[I am checking for the value of the field. If it is
blank or "Search" iteself fire an exception else redirect ot my search page].
Ok, now on the contact us form I am having many fields where I am making use
of .Net validation.
Now the issue is when we browse the page and hit enter key by default the
search validation is happening.
In ASP if we click in a form and press enter the corresponding form only be
validated. I require a similar work around for this.
Thanks in advance
"Tasos Vogiatzoglou" wrote:
Oh, I hadn't understood your problem.
I'd faced a similar issue with a form, where the validation was
depending on the value of a specific field and I used clientside code
to disable the validators.
Would you be interested in such a solution ?