Jump to content

Form errror handling strategy


eazyGen

Recommended Posts

Hi guys,

 

What techniques do you use to process, validate, and then show errors on your forms.

 

Do you set an "action" to the same form and then handle errors somewhere?

Do you use a separate script to process validation?

What standards do you apply for the position of the error messages?

Do you alter the "look" of any fields in errors (make them red for example)?

 

Do you have a good standard strategy that can be applied for all forms in a re-usable fashion? Perhaps using functions?

 

I am looking for a robust, user friendly (and coder friendly come to that) solution to this frequently encountered situation.

 

Many thanks for any help.

 

S

Link to comment
Share on other sites

 

It depends on the size of the form and the function of the form.

 

Typically though i like to use a message at the top of the form telling the user they have missed a field and also mark the field they have missed some how (the style of which depends on the style of the site, and what they missed).

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.