-
-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disallow phone numbers in Name fields #1660
Comments
We can easily set a regex... but a bigger question is what to restrict this to. Do we want to accept only letters and some special characters, or do we want to exclude series of numbers? @alxndrsn if you have a suggestion of a regex I can include that in our testing version of the forms. |
|
Is this a priority for February 21st? If not, I'd propose that this should be deprioritized for this iteration to allow additional time for form performance improvement, targets, and analytics support. |
@sglangevin is this still required? |
@abbyad I think we can hold off on this for now. During our last discussion, we raised the point that CHPs might need numbers to indicate different families with the same name, so we didn't want to limit this field to exclude numbers. I could see limiting the number of numbers that are in this field, but perhaps we should just monitor the data first to see how often this mistake happens? I will confirm this today. |
This can be done as part of xforms validation. Reopen if there's anything we need to do in the app to allow this. |
There is concern, especially when registering a Family, that a user may enter a phone number in the name field. If we could validate the name field to disallow numbers, or disallow phone numbers, then this might prevent bad data being submitted.
The text was updated successfully, but these errors were encountered: