Support » Plugin: CF7 Google Sheets Connector » hidden fields don’t save

  • Resolved gerem

    (@gerem)


    HEllo,

    I try to save hidden fields in google sheet :
    [hidden post_id default:get]
    [hidden website_bid_link default:post_meta]

    But in google sheet, nothing is save.

    Classic field works like :
    [text* first-name id:et_pb_contact]

    Do you know what i am doing wrong ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Abdullah WesternDeal

    (@westerndeal)

    Hello @gerem
    Sorry for bit delay in responding,

    Please refer the documentation properly.
    Already mentioned not use underscores while naming the fileds.

    Please remove specialcharecters like underscores and also avoid using caps.
    Let me know after correcting this, if still issue is there.

    Thanks
    Abdullah

    I apologize for my question.
    But in fact, i am using field that CF7 recommand to get some post information : https://contactform7.com/special-mail-tags/
    [_post_author_email]
    [_post_title]

    For this example below :
    [hidden website_bid_link default:post_meta]
    I am calling post_meta of a field name like that so i can’t change.

    How can I do to make it works ?

    Plugin Author Abdullah WesternDeal

    (@westerndeal)

    @gerem

    You have to change the hidden field name website_bid_link to website-bid-link and save same to the Google Sheet header.

    Try this out and let me know if you are still having issue.

    @westerndeal i can’t change the name of my hidden filed because this name is the field name in posmeta DB.
    The docs here : https://contactform7.com/getting-default-values-from-the-context/

    Is there another way to get with hidden field : the id of the post and a post_meta ?

    Plugin Author Abdullah WesternDeal

    (@westerndeal)

    @gerem

    I think you are bit confused. I am not asking you to change the default value that is post_meta. I am asking you to change the hidden field name i.e website_bid_link to website-bid-link ( https://contactform7.com/tag-syntax/ ) that you are using for [hidden website_bid_link default:post_meta]. And put same for the google sheet header. i.e website-bid-link.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.