• Resolved wp1605982g2n

    (@wp1605982g2n)


    Hi,

    I’m looking at the documentation, but still cannot figure out how to display Row table input as unordered list in my post.

    At the moment, it works well, but all values are comma separated.

    Any help is appreciated.

Viewing 1 replies (of 1 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    if you have 3 form fields in your row,

    [field1][field[2]field3]

    and these are mapped as

    
    field1->meta_field_1
    field3->meta_field_2
    field3->meta_field_3

    the Post My CF7 Form would save them as arrays, therefore you can recreate the row using the following code,

    $field1 = get_post_meta($post_id, meta_field_1, true);
    $field2 = get_post_meta($post_id, meta_field_2, true);
    $field3 = get_post_meta($post_id, meta_field_3, true);
    foreach($field1 as $idx=>$value){
     echo $field1[$idx]."|".$field2[$idx]."|".$field3[$idx];
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Row table input vs. Post My CF7 Form’ is closed to new replies.