Web App input type=tel | Community
Skip to main content
bryceh57660644
Level 2
June 2, 2020
Solved

Web App input type=tel

  • June 2, 2020
  • 1 reply
  • 2066 views

Hey,

 

I am currently trying to set up a landing page where one of the inputs is a telephone number.

 

<input name="phonenumber" title="Confirm your Phone Number:" class="textInput defaultText" id="control_PHONENUMBER" style="border-radius: 6px; margin: 0 3px 5px 0px;" oninput="updatePhoneNumber(this.value)" type="tel" placeholder="555-555-5555" pattern="[0-9]{3}-[0-9]{3}-[0-9]{4}" label="phonenumber" />

 

I have saved this code a few times, and when I reopen, the type is changed to text. Any suggestions on how to get it to get for a phone number?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by _Manoj_Kumar_

Hello @bryceh57660644 ,

After Making changes to your input form from the source tab of page activity. DONT navigate to editor tab. This will convert the type='tel' to type='text'. 

So whenever you are opening the activity. Navigate immediately to source tab. DONT let the editor tab load.

This will fix the issue. Sharing the screen of how it is appearing for me by following this approach

 

Let me know if that helps

 




1 reply

_Manoj_Kumar_
Community Advisor
_Manoj_Kumar_Community AdvisorAccepted solution
Community Advisor
June 3, 2020

Hello @bryceh57660644 ,

After Making changes to your input form from the source tab of page activity. DONT navigate to editor tab. This will convert the type='tel' to type='text'. 

So whenever you are opening the activity. Navigate immediately to source tab. DONT let the editor tab load.

This will fix the issue. Sharing the screen of how it is appearing for me by following this approach

 

Let me know if that helps

 




     Manoj     Find me on LinkedIn