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

Dynamic Ability to Remove Required Status

    Details

    • Type: New Feature
    • Status: Design
    • Priority: TBD
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      Would like the ability to toggle the required status of a field based on the value of another field, using javascript.

      The example is that I have one field that indicates whether a VHW comes instead of a patient. If that happens, then I'd like to remove the required attribute from all other fields on the form so that the user can submit the form without filling in bogus information.

      The workaround is that I have to have a separate form that has just this one field.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              achi@pih.org Andrew Chi [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: