Select your language
So if you need to draw a number type text field, like that
<input type="number" name="jform[ordering]" id="jform_ordering" value="0" step="1" />
then number form field type will do that job. It provides a HTML5 text box with arrows. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is used. Available from
Here are its attributes:
In order to draw above mentioned input code we will use following XML field definition.
<field name="ordering" type="number" default="0" label="Choose an number" description="" min="0" max="1000" step="1" />
Hope this helped.
Still need help! no problem, feel free to contact us Today
Abdul Waheed : (Hire Joomla & PHP Pakistani Freelancer)