Hi there,
Sorry - I've been at this for quite some time and not found a good solution!
When creating a form, with some inbuilt field types, such as "Email" and "Captcha", the label is populated with a default value ("Email" or "Captcha" as oppose to "Untitled").
When creating a custom field type, how do I set a default label value like this?
I've tried altering $field['label']
on gform_field_content
and gform_field_input
hooks, but it looks to be too late by then. So short of completely rewriting $content on the gform_field_content
hook, what can I do?
Any help much appreciated!
Thanks,
Kane