Closed sensemonster closed 1 year ago
Linking to #103
Elected to call it "Marking sponsored members by using the required attribute"
I noted that when there are some unpopulated sponsored member fields, populated sponsored member fields are inappropriately highlighted as well.
Closing in favor of #103.
As written, this code always shows child fields as red (error) when they are generated during the page load. This is problematic when the number of seats is hard-coded instead of variable. In this case, the child account fields show as error even before the user attempts to check out.
All Submissions:
Changes proposed in this Pull Request:
Resolves inconsistent email address field length and compulsory field attributes of sponsored member fields.
How to test the changes in this Pull Request:
Other information:
Changelog entry
Ensures the given sponsored member details are shown as required when rendered and appropriate highlighting when in error state if values are not provided.