• Resolved Sameer Panje

    (@sameerpanje)


    I have defined some dynamic hidden fields on my form that are populated from post data. The form is embedded on a custom post type called Rides. Here’s the relevant snippet from my form code.

    [dynamichidden RideName "CF7_get_post_var key='title'"]
    [dynamichidden RideID "CF7_POST key='id'"]
    [dynamichidden RideDest "CF7_get_post_var key='wpcf-destination'"]
    [dynamichidden RideURL "CF7_get_post_var key='slug'"]
    [dynamichidden RideStartDate "CF7_get_post_var key='wpcf-start-date'"]

    Of these, all are working fine except for the RideID field, which is returning a blank value.

    I also tried using the shortcode CF7_POST instead of CF7_get_post_var but neither of them seems to work.

    https://www.ads-software.com/plugins/contact-form-7-dynamic-text-extension/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Problem with CF7_get_post_var’ is closed to new replies.