Skip to content
This repository has been archived by the owner on Nov 13, 2022. It is now read-only.

Fix error where form validation messages not appearing when expected. #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 12, 2020

  1. Fix error where form validation messages not appearing when expected.

    Although form validation messages in the donation form and request form templates were set to appear when a form field had been edited and contained an invalid value (i.e. a user began to fill in and then cleared a field), these messages were not appearing when expected. Each form field previously contained a declaration of a reference variable with identical name, "#name." Now, each field of the template declares a reference variable unique to that field (e.g. "#phoneNumber"), and the div containing the error message uses the unique reference variable to check the state of the field. Error messages now appear as expected.
    alexander89d committed Jun 12, 2020
    Configuration menu
    Copy the full SHA
    789cb18 View commit details
    Browse the repository at this point in the history