Sherif Posted August 26, 2020 Report Share Posted August 26, 2020 Quote how to change field input type n submission form to tel this should popup the numeric or tel keypad for that field <input type="tel"> but how to add above code be applied on some fields Quote Link to comment Share on other sites More sharing options...
0 Nuke354 Posted August 26, 2020 Report Share Posted August 26, 2020 These links might help you on this:Getting the element: Setting up the JS code:https://www.universalwebservices.net/web-programming-resources/javascript/change-input-element-type-using-javascript/ Sherif 1 Quote Link to comment Share on other sites More sharing options...
0 CoopperBackpack Posted August 27, 2020 Report Share Posted August 27, 2020 Hello @Sherif, I hope that previous answer was helpful. I would like to add that it is a good approach to add the DataPageReady event. Please refer to the example: <script > document.addEventListener('DataPageReady', function (event) { document.querySelector('#InsertRecordNumber_field').type='tel'; //replace Number_field with your local field name }); </script> You may add the code to the DataPage Header or Footer section. Sherif 1 Quote Link to comment Share on other sites More sharing options...
Question
Sherif
how to change field input type n submission form to tel
this should popup the numeric or tel keypad for that field
<input type="tel">
but how to add above code be applied on some fields
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.