• Hi,

    I’m trying to get data from dropdown select field, but I need it to be the 'label', not 'value'.

    When I use Caldera_Forms::get_field_data function, I get value of ‘value’. I’ve tried to change the magic tag setting via 'caldera_forms_magic_summary_should_use_label' filter, but it apparenly works only for summary magic tag.

    The only way I managed it to work was using Caldera_Forms_Magic_Doer::do_field_magic( '%slug:label%', $entryid, $form );, but I’m not sure it’s the right way.

    Is there some official way, I can get the select label data?

    Thanks

The topic ‘Caldera_Forms::get_field_data for :label param’ is closed to new replies.