iPad data entry - numeric keypad

We are using iPads for clients to enter their details on in an app created in Scriptcase and would like for the numeric keypad to appear when they are in number fields rather than the keyboard.

I know this can be done using <input type=“text” pattern="[0-9]*"> in HTML but I can’t find where I can set this in Scriptcase. Any suggestions?

Any solution or workaround on this??

With Jquery. (talking from memory)

$('#idofyourfield_or_selectorreturningidsofyourfields').attr("pattern", "[0-9]")

I see this would be changing the attribute of the field. How would this be created in SC?

onload Javascript

Thanks will give it a try