Uploaded image for project: 'HTML Form Entry Module'
  1. HTML Form Entry Module
  2. HTML-198

htmlformentry could use a simple warning mechanism when someone is trying to enter a form when that same form has already been entered for that encounter date -- this would prevent accidental duplicate entries

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: HTML Form Entry 1.8.0
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      To do the above, i've added an optional attribute to encounterDate: disallowMultipleEncountersOnDate. The values for this argument are 'warn' and 'block' where 'warn' will show the user a pop-up window when they change the encounter date to a date for which there is already a form entry existing in the db; and 'block' will show the same warning, but clear the encounterDate field. These warnings get triggered by an onChange event to the encounterDate field, and then there's an ajax lookup for existing encounters by date and form_id.

        Attachments

          Activity

            People

            Assignee:
            dthomas Dave Thomas [X] (Inactive)
            Reporter:
            dthomas Dave Thomas [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: