Forums

[Solved] Saves blank entries to DB

Manofstyle 28 Mar, 2012
I created the following form and when submitted on the last page is create a new line in the data base and anything with a number validation gets a zero and everything else is blank? Any ideas as to why this is happening? It's an existing table but I've matched the field names & ids correctly.

https://www.garranteedsolutions.com/single
GreyHead 28 Mar, 2012
Hi Manofstyle,

Where are you getting the data from? The last step only has a couple of parameters?

Bob
Manofstyle 28 Mar, 2012
I was using the data to session for the first few steps and then the session to data on the last step before submitting to database. Is this not how it should be done?
Manofstyle 28 Mar, 2012
Figured it out... Put Session to Data in the onSubmit and it started working!
GreyHead 28 Mar, 2012
Hi ManofStyle,

Great :-)

Bob
This topic is locked and no more replies can be posted.