passing name and/or values from pages to pages (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


yonk -> passing name and/or values from pages to pages (10/3/2001 20:40:00)

sorry i have so many questions,

from form to form, i know how to pass the selections a user would choose by name, how can i pass it by name and value, i'll need to pass the name and value (being used as unrelated from one another) from a drop down box, sometimes i just need the value sometimes the users option's name, others times, i need to pass both, from .asp to .asp

I'm taking this info and making calculations with it.





Stuey -> RE: passing name and/or values from pages to pages (10/3/2001 20:41:00)

If you one page has a form with a field called FirstName, on you second form where you want to have the text as the default value for your field

<%= request.form("FirstName") %>

your pages need to be asp and not htm's

You can also post to the querystring bu that can get a little more complicated.

This will only work from one form to the next

------------------
Stuart Steele
stuart@stuweb.co.uk
http://www.stuweb.co.uk





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.078003