In html elements if we use type=”number” for input field, IPAD will show numeric keypad by default for that field.
But in Zend when I use CreateElement(‘number’, ‘zipcode’); It shows an error. Is there any other way to show numeric keypad on zend element when using IPAD.
You could write custom form element, e.g.
My_Form_Element_Numberthat extendsZend_Form_Element_Textand custom view helper, e.g.My_Viev_Helper_Numberto display it with proper attributes.UPDATE: example (not fully working, just to give an idea)