Title: Warning: Unsaved changes
Last modified: September 16, 2020

---

# Warning: Unsaved changes

 *  Resolved [mbsharp](https://wordpress.org/support/users/mbsharp/)
 * (@mbsharp)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/warning-unsaved-changes/)
 * Using CF7 and CF7-conditional-fields.
    After displaying a CF7 form with conditional
   fields, and then navigating away, I always get a warning that changes may not
   be saved. This happens whether or I have made any changes and whether or not 
   I made changes and saved. This does not happen on another site using CF7 only,
   so I am guessing the warning is coming from CF7-conditional-fields. It would 
   seem that the warning is spurious as there is no issue using the resulting form.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [mbsharp](https://wordpress.org/support/users/mbsharp/)
 * (@mbsharp)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/warning-unsaved-changes/#post-13413386)
 * PS. To be clear the warning message is in the backend editor and not in operational
   use.
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/warning-unsaved-changes/#post-13413417)
 * Could you check if the issue appears when you install conditional fields on your
   other website?
 *  Thread Starter [mbsharp](https://wordpress.org/support/users/mbsharp/)
 * (@mbsharp)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/warning-unsaved-changes/#post-13414310)
 * 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.
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/warning-unsaved-changes/#post-13462500)
 * 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?
 *  Thread Starter [mbsharp](https://wordpress.org/support/users/mbsharp/)
 * (@mbsharp)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/warning-unsaved-changes/#post-13475418)
 * 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
 *  Plugin Author [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * (@jules-colle)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/warning-unsaved-changes/#post-13875408)
 * 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](https://wordpress.org/support/users/jules-colle/).

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Warning: Unsaved changes’ is closed to new replies.

 * ![](https://ps.w.org/cf7-conditional-fields/assets/icon-256x256.png?rev=2072595)
 * [Conditional Fields for Contact Form 7](https://wordpress.org/plugins/cf7-conditional-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cf7-conditional-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-conditional-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-conditional-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-conditional-fields/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Jules Colle](https://wordpress.org/support/users/jules-colle/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/warning-unsaved-changes/#post-13875408)
 * Status: resolved