Link to home
Start Free TrialLog in
Avatar of Larry Brister
Larry BristerFlag for United States of America

asked on

Detect Browser settings

Is there a way to detect if the CLient Browser Javascript is disabled?

We have a large application form that folks fill out and there's validation thats JavaScript based.

Works fine if Javascript is enabled.

Works...but allows invalid text if client has J disabled.
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

You need to re-validate on the server too.  Spammers and hackers will collect your form info and post directly to your 'action' page and bypass your validation.
Avatar of Larry Brister

ASKER

Ok Dave...
If you mean VB code side, I'm wondering why my predescesor didn;t do that to start with.

I will do that. BUt in the meantime, is there a way to do what my question is asking?
SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
To add to what I said...  I view client side validation as merely an aid to the client to get the form data correct and useful.  I use the server side validation as filtering and protecting the application and database.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks guys
Hmm, I'm curious as to why the comment that said it couldn't be done was awarded 400 points, and the comment that actually answered your question only got 100?