Hello
I do not get the form data array. Can you please provide an example?
I have a form and with some textboxes and a submit button. The input text boxes are on the first page. When I submit data is sent to the next page. In the Setup in the section 'On Submit' I added the 'Handle Arrays' event, and Data to Session. Then on the 'page 2' I added an event ' Session to Data'.
I want to be able to resubmit the form on the first page and collect the results in an array and eventually use this collected data to add it to a database.
Say I submitted the form and now I go back to the first page using the arrows of the browser and I fill in the form and submit again how can I see both the values submitted in the first and the second clicking of the same submit button?
I tried printing using $form -> data['startdate'] ('startdate' is the name of a textbox) but I only get the second value.
I hope this makes sense.
Thank you.
I do not get the form data array. Can you please provide an example?
I have a form and with some textboxes and a submit button. The input text boxes are on the first page. When I submit data is sent to the next page. In the Setup in the section 'On Submit' I added the 'Handle Arrays' event, and Data to Session. Then on the 'page 2' I added an event ' Session to Data'.
I want to be able to resubmit the form on the first page and collect the results in an array and eventually use this collected data to add it to a database.
Say I submitted the form and now I go back to the first page using the arrows of the browser and I fill in the form and submit again how can I see both the values submitted in the first and the second clicking of the same submit button?
I tried printing using $form -> data['startdate'] ('startdate' is the name of a textbox) but I only get the second value.
I hope this makes sense.
Thank you.
Hello ataylor14,
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
My form data isn't saving to the database correctly
How do I save form data to a database table?
How to load record data from a database table into your form
P.S: I'm just an automated service😉
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
My form data isn't saving to the database correctly
How do I save form data to a database table?
How to load record data from a database table into your form
P.S: I'm just an automated service😉
Please use the "multi page" action and remove the "session to data" or "data to session" actions, you can check the included multi page demo form for the correct setup!
Regards,
Max
Regards,
Max
This topic is locked and no more replies can be posted.
