Field type for digital input in xml file - Joomla! Forum - community, help and support


hi,

i want make field input digital in xml file, should type=int? not seem work. how can set default value on field?

thank you.

j

you may specify field per following in xml:-

code: select all

         <field name="integer_field"
            type="text"
            default="255"
            filter="integer"
            label="label"
            description="description"
            size="5"
         />


filter 1 make sure value input integer. joomla! ignore non-integer value won't prompt message. need use javascript that.





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support