Multipage form

mari4anna87433 29 Feb, 2024
Hi, I have a multipage form and I need that given a certain response, one page (with fields) is shown rather than another (with other fields). I can't implement it in any way with event listeners and event triggers.

Can you help me?
mari4anna87433 07 Mar, 2024
Ok thanks, I set the code but how can I go to one page rather than another?
If it is true, for example, it must go to page 12, if it is false, it must go to page 16.
How can I implement it?
mari4anna87433 09 Mar, 2024
I have solved it for now by creating two forms and using that script suggested by you I do a redirect to the new form. But now I have the problem of taking the data from the starting form and bringing it into the form to which I redirect so that I can then send all the results via email.
Max_admin 16 Mar, 2024
Hi marianna

I do not think this solution is good and you will most probably have other issues, I can add a new feature for page switching, what is your deadline for this to work ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mari4anna87433 18 Mar, 2024
Hi Max, I'm quite late with this work precisely because of this problem which I have currently resolved by eliminating the issue of the redirect to another form but, on the page where the responses must be dynamic, I simulated the multi-page "display" by playing with contaniner/event listener/event triggers and I have to say it works pretty well.
Now I'm trying to solve another problem. When the user finishes filling out the form and is redirected to the first page of the multipage form, the data in the various fields persists and if they make a new submission despite changing the data, the data filled out at the first access is sent back via email. I'm going crazy trying to get them to empty...Do you have any suggestions to fix this problem?
Max_admin 18 Mar, 2024
you should not redirect to the first, the form must complete to reset the session data

You may display a link at the last page "submit" to the first page, or do a "delayed redirect", but a direct redirect will cause problems
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mari4anna87433 18 Mar, 2024
Once the form is completed I send users to the home page where there is the first page of the multipage form.
So what do you suggest I do?
You need to login to be able to post a reply.

VPS & Email Hosting 20% discount
hostinger