Hi Guys,
I have a form which uses PHP calls to an API to pre-load forms and update on submit with new details,
What I want to do is without completing all of the fields and have a button which calls on my PHP to update the data and the reloads the form,
Currently I am using a multipage form and I need this to take place on page 2,
Page 1 you give an ID, it uses the ID to fetch the persons details, popuates the form on page 2, here I want to add a button to take the data in the fields and update them then reload the page 2 which basically re-fetches the data and pre-populates page 2, then you can complete the rest of page 2 and submit which finishes everything off.
Please can someone assist?
I have a form which uses PHP calls to an API to pre-load forms and update on submit with new details,
What I want to do is without completing all of the fields and have a button which calls on my PHP to update the data and the reloads the form,
Currently I am using a multipage form and I need this to take place on page 2,
Page 1 you give an ID, it uses the ID to fetch the persons details, popuates the form on page 2, here I want to add a button to take the data in the fields and update them then reload the page 2 which basically re-fetches the data and pre-populates page 2, then you can complete the rest of page 2 and submit which finishes everything off.
Please can someone assist?