Click to See Complete Forum and Search --> : Disabling Form Elements In ASP


karlmcauley
08-12-2003, 05:35 AM
Hello,

Can someone advise me on whether i can disable form elements through ASP dependant on what is returned from a database query. For instance:

if instr(strCriteriaFlag, "A") > 0 then
"disable textboxes, buttons, combo boxes, etc etc"
end if

Can i do it like this or will it need to be javascript?

Cheers

karlmcauley
08-12-2003, 10:07 AM
Cheers dave

karlmcauley
08-12-2003, 11:19 AM
Is there an enable tag for the above?