PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Getting the selected value of a radio button list

  1. sciamannikoo


    I'm writing a plugin that retrieves data from a give form.

    When I want to get data from simple fileds I have no issues, I simply use something like that:
    $fieldValue = GFormsModel::get_field_value_long($leadId, $fieldId, $form, $apply_filter);

    But if the field is a radio button, a multi select or similar (with values), I can't get this value: I can only get the text value.

    Any help?

    Posted 11 years ago on Monday October 22, 2012 | Permalink