Forums

Form loosing data

dave18 30 Nov, 2016
Hello, something really strange is happening on my form. I have been using chronoforms since years but this one I have never seen it before.

So, this is a screenshoot of how the form is when I clic save: https://diigo.com/094ng9

These are the screenshot of the form backend:
https://diigo.com/094ngm
https://diigo.com/094ngo
https://diigo.com/094ngp

The next day I go to the site and the form is missing the "required fields" https://diigo.com/094ngc

Then I go to System -> Clear cache and I erase all these https://diigo.com/094ngp

and the form is back with the correctly like it was: https://diigo.com/094ng9

So surely this is a cache problem, however I am not sure what I have to enable/disable to have the form working stable like it is.

I have conservative caching ON and I am on a Siteground shared account with Static Cache, Dynamic Cache and Memcached enabled.

I think they are automatically flushed every night.

thanks
Davide
GreyHead 30 Nov, 2016
Hi Davide,

It might be a problem with the JavaScript for the validation not loading correctly. Do you see any JavaScript errors when the validation isn’t showing up?

Bob
dave18 30 Nov, 2016
I don't know .. I have to wait tomorrow to check🙂
dave18 20 Dec, 2016
ok, so the form came back to how it was, so somehow my changes keep loosing the next day. Should I contact my hosting provider?
GreyHead 20 Dec, 2016
Hi dave18,

I think that ChronoForms adds the * markers when the page loads. I guess that doesn't happen when the page has been cached. You could remove the caching for the form page - or possibly use CSS to hide the CF markers and add some directly into the element labels.

Bob
dave18 02 Jan, 2017
So I have tested two things such as cleaning the static cache from cPanel and clearing Expired cache from Joomla but did not solve the problem.
The action that actually brings the form to its correct state is from the Joomla Clear cache action.
So there must be something weird that at some point brings the form to its prior state without the mandatory fields.
At the moment the form is correctly displyed, see here https://www.insegne-pubblicitarie.com/index.php?option=com_chronoforms5&chronoform=formpreventivo
but 100% tomorrow morning will be back to its prior state https://www.diigo.com/item/image/2gyji/ixhv?k=7b8540d9fa12d9b54288e7e01beadced

What a weird thing, what can it be?

Davide
GreyHead 02 Jan, 2017
Hi Davide,

When I test I see the markers showing correctly so it's hard to diagnose the problem. I still think that the simplest solution might be to add the *s to the element labels.

Bob
dave18 02 Jan, 2017
Hello GrayHead it's not just a problem of the * not showing, the field is actually not mandatory. Check it tomorrow morning and you'll see the difference.
This topic is locked and no more replies can be posted.