Uploaded image for project: 'JBoss WFK 2'
  1. JBoss WFK 2
  2. WFK2-635

jQuery Mobile quickstart "contacts-mobile-basic" throws error if a non-US phone number is entered

    XMLWordPrintable

    Details

    • Target Release:
    • Steps to Reproduce:
      Hide

      Deploy the quickstart with Maven and navigate to http://localhost:8080/jboss-contacts-mobile-basic/#contacts-edit-page

      Add a non-US number to the Phone field on the form.

      Show
      Deploy the quickstart with Maven and navigate to http://localhost:8080/jboss-contacts-mobile-basic/#contacts-edit-page Add a non-US number to the Phone field on the form.
    • Affects:
      Release Notes, Interactive Demo/Tutorial
    • Release Notes Docs Status:
      Documented as Feature Request
    • Release Notes Text:
      Hide
      The contacts-mobile-basic quickstart did not accept non-US phone numbers when adding or editing a contact, with the message "Please use a standard US formats. And remember the area code and prefix may not start with 1." The quickstart functionality has been extended to allow and validate international phone numbers. A new international phone number jQuery library was included to provide the needed support.
      Show
      The contacts-mobile-basic quickstart did not accept non-US phone numbers when adding or editing a contact, with the message "Please use a standard US formats. And remember the area code and prefix may not start with 1." The quickstart functionality has been extended to allow and validate international phone numbers. A new international phone number jQuery library was included to provide the needed support.

      Description

      When using the contacts-mobile-basic quickstart in jboss-wfk-quickstarts-2.6.0.ER1, an error is thrown when attempting to add or edit a contact. When viewing the Edit Contact screen and adding a number to the Phone field, the following message appears if a non-US phone number is added:
      "Please use a standard US formats. And remember the area code and prefix may not start with 1."

      This means that users outside the US cannot use the app to store local numbers. If they are using the quickstart in a test environment, they have to search for US phone numbers on the web to use, as you cannot simply enter random numbers. This error also prevents the user from saving the entry.

      Suggest that this field is modified to prevent region-locking.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jowilson Joshua Wilson
                Reporter:
                sdorfiel Suz Dorfield
                Tester:
                Tomas Repel
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: