Mobile keyboard for input fields

Use a numeric mobile keyboard for input fields in CF.

Overview

The standard CF form elements do not support HTML5 input types like 'tel' for numeric keyboards.
Add a Custom Code element to your form and manually create the input field with the desired HTML5 type attribute.

Answered
ke keske 07 Sep, 2015
Hello,

I was wondering if I can use the htlm5 rules like for example: input type="tel" so on my mobile it will show only the keyboard with numbers? Can I do that with the advanced setup mode or only manually?

Thank you very much.
Gr GreyHead 07 Sep, 2015
Answer
1 Likes
Hi keske,

You can only do it using Custom Code elements at present (I'm not sure why that is though).

Bob

PS I have tried changing the type using JavaScript but that apparently isn't permitted in HTML as it is a security risk.
This topic is locked and no more replies can be posted.