• Resolved teenhype90210

    (@teenhype90210)


    Please consider adding an additional line of code to jquery.maskedinput.js (and minified version) to show only numeric keyboard on iOS/Android devices, since your input mask fields will only allow numeric characters anyway.

    This can be done with the following line added to the bottom of the $mask_fields function around line ~191 of /cf7phone-mask-field/assets/js/jquery.maskedinput.js (but of course will be lost when the plugin is updated, which is why I’m suggesting author add the fix).

    $(“.wpcf7-mask”).attr(“pattern”, ‘\\d*’).attr(“inputmode”, ‘numeric’);

    Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Numeric Keypad On iOS/Android’ is closed to new replies.