I have a page with required fields but also want a cancel button so the user
can stop doing what they are doing. Problem is, if I use a required field
validator and they then click cancel, it says the fields are required.
Any way around that other than writing the required code myself?
TIA - Jeff.
bruce barker - 13 Feb 2008 16:56 GMT
on the cancel button, set CausesValidation to false.
-- bruce (sqlwork.com)
> I have a page with required fields but also want a cancel button so the user
> can stop doing what they are doing. Problem is, if I use a required field
[quoted text clipped - 3 lines]
>
> TIA - Jeff.
Mufasa - 13 Feb 2008 18:54 GMT
Thanks everybody. That worked great.
> on the cancel button, set CausesValidation to false.
>
[quoted text clipped - 8 lines]
>>
>> TIA - Jeff.
Misbah Arefin - 13 Feb 2008 17:04 GMT
for the cancel button set CausesValidation to false
--
Misbah Arefin
> I have a page with required fields but also want a cancel button so the
> user can stop doing what they are doing. Problem is, if I use a required
[quoted text clipped - 4 lines]
>
> TIA - Jeff.