View Full Version : Will an Insert clear form fields?
dawilis
06-16-2003, 01:23 AM
Will the dreamweaver MX Insert action, Clear or NULLify the form's fieds, that are collecting the data?
Im trying to collect the forms data after the insert action But I only get blanks from the Request.Form tag
dawilis
06-16-2003, 05:11 AM
Its crazy, the form contents are being cleared between the redirection and after being inserted into the access Database
I can request.form(Blah) from a test form but the insert form just does not pass anything across
Anybody? Anything?
Well, my psychic powers are letting me down right now so i can't guess the code + i don't use dreamweaver so i have no clue about what sort of code your talking, but i read this
between the redirection and after being inserted into the access Database
so i just thought i'd tell you that request.form("bla") in page 2 searches in the formscollection of the previous page (page 1) that has page 2 as the value for the action.
If you have
page1 posts to page 2 --> page 2 inserts values from forms and redirects to page 3 --> in page 3 you have request.form("bla") (form in page 1)
then the formscollection will be empty (formvalues are sent in the header when page 2 is requested. When page 3 is requested (redirect) there is no such header.
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.