469,275 Members | 1,871 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

Multi Page Form

HI All,
I am writing a multi page form. I am using hidden input statements to
pass my variables between different pages. Now I want to provide a page
whereusers can update the previous entered data. The form at this point
is populated through the hidden variables.
But as I submit after making any changes.
the hidden values instad of updating get an extra value.
Is there any way to get around it.
Thanks

Jul 22 '05 #1
2 1491
Tim
Jishnu wrote:
I am writing a multi page form. I am using hidden input statements to
pass my variables between different pages. Now I want to provide a page
whereusers can update the previous entered data. The form at this point
is populated through the hidden variables.
But as I submit after making any changes.
the hidden values instad of updating get an extra value.
Is there any way to get around it.


For questions like this you should always post some well crafted
explaining code because it is hard to tell what you are doing wrong but
my guess is that you write both hidden fields AND ordinary forms on the
update page.

I guess it looks something like this (on the update page).

<input type="hidden" name="name" value="Jishnu" />
<input type="text" name="name" value="" />

In this case Request.Form("name") will return a stringlist containing
both the hidden value and the value entered in the form.

What you should do instead is to only have the form, and let it contain
the name initially

<input type="text" name="name" value="Jishnu" />

If you problem is what I think it is this should be the solution, else
you should post some code exemplifying .

Tim
Jul 22 '05 #2
<<
But as I submit after making any changes.
the hidden values instad of updating get an extra value.


Maybe you have more than one field with the same name.

Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
http://www.Bullschmidt.com
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by sentinel | last post: by
1 post views Thread by mmac | last post: by
1 post views Thread by Adam Smith | last post: by
1 post views Thread by CAH | last post: by
reply views Thread by assgar | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.