Forums

Form doesn't reset variables after reload page

lollymaster 12d ago

Hi all,

i have a 4page form that i have to reload when i go to the end of it( eg. click on the page link of the menu).  When i reload the page, the multipage form starts  from the 1st page. then i click next and the form go directly to the 4th page like this:

The crazy thing is that during debug active this not happens, but the upload field shows the name of the past file uploaded.

The other thing is that wheni go the second time on upload field, i can see the name of the previous file(is not unsetted).

can someone help me?

Thanks,Lorenzo

Max_admin 11d ago

Hi Lorenzo

I will need to test the form to understand this more, but let me explain something, Reload will load the "Load" event of the same form page, is this what you are using ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
lollymaster 11d ago

Thanks Max.

Yes i'm trying to reload the same page.

Let me recap the problem: when i go to the last page of the multipage form(the 4th) and i reload the same page of the form(also with reload page of the browser) the form starts with the correct page (the 1st) but when i press next(button next page) the form goes directly to the 4th page of the form(it seem that remember the previous use of the form).

Thanks,

Lorenzo.

Max_admin 8d ago

Hi Lorenzo

How do you reload the page at page #4 ?

What is the behavior you are expecting when you reload page4 ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
lollymaster 8d ago

Hi Max,

After the #4 page of the form I expect that when I reload the page the form reset all variables used the time before. But now when I reload the page and I press next from the 1st page of the form, it goes directly to the 4th page 

Thanks,

Lorenzo 

You need to login to be able to post a reply.