Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-5105 Implement a plugin to give alert on unsaved changes in a form
  3. CRM-4796

Configure events tabs - detect if user changed form data and warn if they navigate away without saving

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      Currently users can easily make changes in one of the event configuration tabs and then click another tab without realizing that their data has not been saved. We should detect form data changes and give a warning. I found two potential jQuery approaches for this with a quick net search:

      http://stackoverflow.com/questions/807159/detecting-data-changes-in-forms-using-jquery
      http://www.elctech.com/articles/dirtyform-watching-for-form-changes-with-jquery

        Attachments

          Activity

            People

            • Assignee:
              sushant Sushant Paste
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 3 hours
                3h
                Remaining:
                Remaining Estimate - 3 hours
                3h
                Logged:
                Time Spent - Not Specified
                Not Specified