Skip to content

The input type for mobile number in two pages #266

@yasminove

Description

@yasminove

I noticed you're using input type="number" for your Mobile number on Add Participants and Add Manager pages.

Using input type="number" may result in some values added as a mobile number while they are not valid ones.

screen shot 2018-12-09 at 1 43 31 pm

You might want to change it to:

<input type="tel"
       pattern="[0-9]{3}-[0-9]{3}-[0-9]{4}"
       required>

This means your receiving the user's mobile number in the format xxx-xxx-xxxx

You might also want to add some validation ⭐️

screen shot 2018-12-09 at 2 07 32 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions