Registration Forms and No Javascript

  • Thread starter Thread starter pbd22
  • Start date Start date
P

pbd22

Hi.

Could somebody please tell me how to handle
registration when javascript isn't enabled? I don't
want an ugly <noscript> message that says "you
must have javascript enabled" but, rather I want
javascript to fire if javascript is enabled and, if it
is not enabled, i want the server code to fire. In
both cases, form validation is done and the user
won't be able to tell the difference.

What would my form tag and its associated attributes
look like to get this kind of logic to happen?

thanks a bunch
 
the standard validation controls do this, and if you write your own, you
can supply both client and server code. you need to check IsValid in
your postback handling.

you also need to avoid controls that require javascript to postback, for
example the linkbutton.

-- bruce (sqlwork.com)
 
Back
Top