PS. To be clear the warning message is in the backend editor and not in operational use.
Could you check if the issue appears when you install conditional fields on your other website?
Thank you for responding.
On the affected site I have two forms both using the same conditional fields settings. One group field is displayed if a particular string is typed in an earlier field. The particular string may be any of 15 possibilities so there are 15 rows in the conditions.
I added conditional-fields to my other site and created a new CF7 form with one group field to be displayed if one possible string is typed in an earlier field.
The Unsaved Warning now appears on this other site after adding conditional-fields.
The warning appears even if you just open a form for editing and do nothing before navigating away elsewhere within the dashboard.
Operationally this warning can be ignored as it has no effect on the use of the forms. It is just that presumably some flag is not being set correctly when the CF7 form is saved.
I have checked this several times and added some tests, and verified that this is not happening on a clean wordpress installation with both the latest versions of CF7 and Conditional Fields installed.
Could you explain to me exactly the steps I can take to reproduce this?
That’s odd. As noted the fault appeared as soon as I added the Conditional Fields plugin to a site which had not used it before. It may be an interaction with another plugin. But, as the warning is irrelevant and can be ignored I will just live with it.
Regards
Figured out when this happens. Under normal circumstances this error should not appear. However, if you have a conditional rule that is referencing a non-existent group, the warning will appear.
Steps to reproduce:
1. Create a new form with at least one group
2. Save form
3. Go to the Conditional fields tab
4. Create a condition for this group to appear
5. Save form
6. change the name of the group in the form
7. Save form
8. Save form again. The warning should now appear
Temporary fix:
1. Go to the Conditional fields tab
2. Remove the conditions with a blank group field.
3. Save form. The warning should not appear anymore.
-
This reply was modified 5 years, 5 months ago by
Jules Colle.