• Resolved ruxdomenig

    (@ruxdomenig)


    Hi!

    I cannot find any information concerning the extraction of values from select entries. If I have a simple form with a field “training” (as slug) and the form type is “simple text”, this piece of program gets me the entry:
    $form_id = $atts[‘form_id’];

    //get all entires (page 1 with 9999999 entries per page should do it:)
    $data = Caldera_Forms_Admin::get_entries( $form_id, 1, 9999999 );
    $entires = $data[ ‘entries’ ];
    if (count($entires) > 0) {

    foreach ($entires as $key => $value) {

    $name = $value[‘data’][‘training’];
    }
    }

    How do I get the entry (label) if my field is a dropdown entry, checkbox or radio button?

    Thank you for your help!
    Regards

Viewing 1 replies (of 1 total)
  • Plugin Contributor christiechirinos

    (@christiechirinos)

    Hi there,

    Thanks for using Caldera Forms, it means a lot to us.

    To be honest, I don’t think Caldera Forms is a good fit for this. You are better off exporting your entries and then pulling entries based on field data using spreadsheet software.

    Sorry about that, but I hope we can be of help to you in the future. As always, you can get same-day help from us by opening a Priority Support ticket at https://calderaforms.com/support.

Viewing 1 replies (of 1 total)

The topic ‘Get entries for select Fields’ is closed to new replies.