Tuesday 15 March 2011

php - How to add placeholder for my form XML fields in joomla -



php - How to add placeholder for my form XML fields in joomla -

i using joomla inbuilt registration form , added fields form.

i need add together placeholder form "placeholder" keyword not working.

registration.xml

<field name="city" type="text" description="enter city" label="city" required="true" size="10" filter="string" />

to add together placeholder, need add together hint attribute, so:

<field name="city" type="text" description="enter city" label="city" required="true" size="10" filter="string" hint="placeholder here" />

hope helps

php xml forms joomla

No comments:

Post a Comment