Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,

 

Have a page in my project which requires the user to submit a substantial amount of information. When the user clicks the "Next" button, the data they supplied is validated and the user is redirected to a specific location.

 

If there is a problem with some of the data submitted, I want to redirect back to where that problem occured.

 

I have tried to user HTMLAnchor tags, but don't seem to be having much luck, any suggestions on how I can get around this problem.

 

Mike55.

A Client refers to the person who incurs the development cost.

A Customer refers to the person that pays to use the product.

------

My software never has bugs. It just develops random features. (Mosabama vbforums.com)

Posted

Cool that works, however is there any way to prevent a new page being created everytime that you fire off the javascript? i.e. if you look under the listing of previous pages, you can see "n" instances of the page for the "n" number of times that you clicked the button (where n >= 0).

 

Mike55

A Client refers to the person who incurs the development cost.

A Customer refers to the person that pays to use the product.

------

My software never has bugs. It just develops random features. (Mosabama vbforums.com)

Posted
Not sure what the previos page listing is. But, where are you doing your validation? Client or server? If client, you can integrate the input's focus function into the validation.

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.   Paste as plain text instead

  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...