Rob, this is looking great! I was able to extend it with ease (as you suggested) to include options to manage the keyboard type shown along with the input prompt… Also added an option to bring the keyboard up automatically without having to tap on it first. This is quite common in situations where there is only one inputField displayed.
Additions to code hilighted below :
opt.inputType = customOptions.inputType or “default”
opt.keyboardType = customOptions.keyboardType or “done”
opt.autoPopKeyboard = customOptions.autoPopKeyboard or false
opt.font = customOptions.font or native.systemFont
field.textField.inputType = opt.inputType
field.textField:setReturnKey(opt.keyboardType)
field.textField.text = opt.text
if opt.autoPopKeyboard then
native.setKeyboardFocus( field.textField )
end