Forums

Form is autofilling with other users data!

sixdeuces 21 Sep, 2017
Joomla 3.8.0 and CF 5.0.16

Was alerted by client that their form was autofilling with another user's un-submitted info. (They receive the emails from the form, so they know it hadn't come through.) I checked the page, and sure enough there it was. I can only assume the data is being saved and shared by the site cache somehow. I cleared the cache and it did go away, but I need to be certain that can't happen again before I bring the form back online.

I've never seen anything like this. Thoughts?
Thanks in advance!
GreyHead 22 Sep, 2017
Hi sixdeuces ,

If you add a Debugger action to the start of the On Load event you should see any pre-loaded data. You could then add custom code to check this and clear it if it is inappropriate.

If you have caching enabled for form pages so that the form is cached with content then this can happen. In general it is not advisable to cache form pages.

Bob
sixdeuces 22 Sep, 2017
Thanks for the speedy response. I'll do as you suggest and be sure to exlcude form pages from caching.
This topic is locked and no more replies can be posted.