very weird thing happened to me while testing form

Efstathiou 12 May, 2012
ok so I was testing the form to see if everything was ok

I complete the form, and didnt submit, my pc remained idle, and the session expired so even though it showed me as logged in, I wasnt

when I come back to the pc I click submit, it tells me I need to log in, I log in, it takes me back to the forum, I submit it, everything seems fine

but its not

I check the verification email, and its messed up, apparently, even though the form asks you to sign in, the verification email is sent, and because the data has not yet been saved in the database, the values in the email are the field names instead of the selections


I know it might never happen, but can I fix it somehow?
GreyHead 14 May, 2012
Hi Efstathiou,

I don't understand wha happened here. The values in the form boxes will have been submitted. Is this a multi-page form so that wome earlier data was saved in the User session?

If so then using Server-side validation to check the values that are required will probably prevent this problem. Or better, save the data after each from step.

Bob
Efstathiou 15 May, 2012
no its not a multpage form, its a very simple form as I am new at this


basically i complete the form but do not press submit

pc remains idle and I assume my session on the website expires

I come back and press submit

form does not submit as I am not logged in, so it asks me to log in

I do log in, and it immediately submits the form

but although it stopped the form from submitting, it still sends out the email which is sent upon submission with the users choices, and because no data has been save at the time the email is sent, the email that is sent does not contain the selections but the field names instead
GreyHead 15 May, 2012
Hi Efstathiou,

Odd, but server-side validation is probably still the answer.

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