FrmProEntriesController::get_field_value_shortcode( array( 'field_id' => $field_id, 'entry' => $entry_id ) )However, that appears to return me the "Label" of the option, not the actual "value" The HTML code for an example option looks like:
<option value="13590">The label of the option</option>The code above would return: "The label of the option" I am looking for it to return: "13590"
Please login or Register to submit your answer
Are you sure the value in the database is 13590? Check the value in the wp_frm_item_metas table to make sure that's what's stored in the data row for this field and target item_id.
Different values are stored by different field types. A Dynamic drop down stores the record ID of the lookup table row. All other drop downs store the text label.
Not sure what is happening however, I was able to get the correct value using the $_POST['item_meta'] data for that field in the frm_after_create_entry action.