How to use "hiddenLabel" in custom form fields?

58 views
Skip to first unread message

Piotr A.

unread,
Sep 9, 2016, 8:18:50 AM9/9/16
to Joomla! General Development
Hi!
It looks like there is possible to hide form label in:
layouts/joomla/form/renderfield.php
Label is displayed only if $options['hiddenLabel'] is empty (line 33).
Question:
How to set value of this option in custom form field?

Thanks for any help
Piotr

Bakual

unread,
Sep 9, 2016, 10:15:44 AM9/9/16
to Joomla! General Development
Add hiddenLabel="true" to the formfield definition in your form XML.
Reply all
Reply to author
Forward
0 new messages