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
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:-
filter 1 make sure value input integer. joomla! ignore non-integer value won't prompt message. need use javascript that.
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
Post a Comment