31
Views
3
Comments
[OTP Separated - Mobile] I want to display only numeric keyboard  .
Question
otp-seperated-mobile
Mobile icon
Forge asset by Zafar Sultan
Application Type
Mobile

I have used the Forge component OTP Separated mobile and it works fine with mobiles if i give numeric only to  it is accepting only integer and the plugin is working fine.

I have only one small problem now I want the keyboard also to be integer only 

currently the keyboard comes as an default keyboard ie; both variables and all keys which is given below .


But I want the keyboard to display only numeric ie: only numbers like below


Can you provide a solution to this .


Thanks in advance.

2020-11-25 10-45-32
Mostafa Othman
Champion

Hello,

You can try to change type of input fields of OTP component  from text to Numeric and you will need to change also local variable used to integer instead of text.

2025-08-09 07-22-56
Bharathi Selvaraj

@Srinivas Prasad Just add "type" attribute in the input field and set the value as "tel" as shown in the image . This will do the job

2024-05-22 10-21-41
Mohammad Hasib

Hi,

Change input type as Phone 


Change variable data type as Phone Number.


Hope it will work for you.

Regards,

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.