fixed bug by increasing character count #175
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I increased the maximum number of characters allowed in the 'Name' field of the contact forms.
Description
I changed the hard-coded number for maximum character count (100) allowed in the 'Name' field of the contact forms to 130.
Motivation and Context
If a user had a first and last that is the maximum number of characters long (50 each), and then tried to fill out a contact form, it would say underneath the 'Name' field that the maximum number of characters (100) has been exceeded because the form automatically adds the first name, a space, then the last name (totaling 101). This would force the user to have to delete characters in their name. I increased the maximum number of characters allowed in the field as a simple fix and now any user that would have a maximum length first and last name can easily fill out a contact form and submit it.
Tests performed
I opened up a contact form to fill out and in the 'Name' field, it states the maximum number of characters is 130. I also created a test account with a first and last name that contained the maximum number of characters each (50 each: 100 total). I then logged in as that user and opened up a contact form to which the 'Name' and 'Email' fields automatically get filled in, and I was able to submit the form with the 'Name' field consisting of 101 total characters (including the space).
Types of changes
Checklist: