Adjusting phone number format for FirstFormFragment
License and Copyright Notice
By submitting this issue or commenting on this issue, or contributing any content to this issue, you certify under the Developer Certificate of Origin that the content you post may be licensed under GPLv3 (for code) or CC-BY-SA 4.0 International (for non-code content).
Branch Name
issue_460_fxing_phone_num
Related Issues
Closes #460 (closed)
Description
This merge request will no longer allow users to proceed with registering if the phone number input is incorrectly formatted. Only allows users to continue if the phone number is input in "XXXXXXXXXX" format and warns users to remove dashes if input.
Steps to Test
- Begin with guest registration in the first form.
- Try entering 10 digits with dashes and try to proceed ie: 888-999-00 , the UI should present a warning.
- Try entering less than 10 digits and try to proceed ie: 123456 , the UI should present a warning that a valid phone number must be input.
- Enter a full phone number and try to proceed. The app should allow you to move on to the next form.
Relevant Logs
(Paste any relevant logs here.)
Developer Notes
(List any notes you have about what you did here using bullets, for ex:)
- Two new strings were added to the strings.xml file that need to be updated with Spanish translations.
Edited by Arwa Lokhandwala