• Tone42

    (@tone42)


    Hi!

    I do not find the appropriate information to help myself so I would appreciate if someone could instruct me how to transfer data from a TablePress table to a dynamictext field in Contact Form 7?

    The idea is to add a link on the product ID listed in a TablePress, and that the same product ID gets automaticaly inserted in the respective dynamic text field of the linked Contact Form 7.

    Kind regards,

    Tone

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    thanks for your question, and sorry for the trouble.

    Unfortunately, I don’t know what methods to insert content into that form field are supported by Contact Form 7, but if you can use a Shortcode, you could maybe use the TablePress Extension from https://tablepress.org/extensions/table-cell-shortcode/ to extract a single cell value from a TablePress table.

    Regards,
    Tobias

    Thread Starter Tone42

    (@tone42)

    Hi,

    Thank you Tobias, I guess this would be the right thing. Shortcode should be fine with CF7. Here is the CF7 dynamic field extension description:

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

    However, being weak in the bits and pieces, mostly relying on the “try and see” method, I have not managed yet to get any data from TablePress to CF7 contact form. My guess for the CG7 shortcut would be:

    ‘[dynamictext table-cell id=6 cell=B2 /]’

    (6 is the ID of one of my Tables, B2 is the cell containing the text data to be transfered to CF7 form), but – it is not working. The respective dynamic field in the form remains empty.

    So, I would need even more specific help:
    – how to exactly compose the shortcode in CF7, with respect to the above link
    and more,
    – how to make the table id and the cell address dynamic too? This two parameters should take the table ID & cell adrs of the specific table/cell from where the form was accessed via the link. I have several tables, each representing a separate product group, having the product ID in the comlumn B.

    I hope answering this would not be of much inconvenience to you.

    Kind regards,
    Tone

    Hi Tone,

    sorry, this is beyond my knowledge of CF7 ??
    Combining the Shortcodes like this is not possible and I don’t see a possibility to insert the table ID and cell number dynamically either.

    Regards,
    Tobias

    Thread Starter Tone42

    (@tone42)

    Hi, Tobias!

    I’m sorry too. First, because the site I’m trying to set-up will not be as effective as it should, and second, because I’m not able to figure it out by myself. If I was maybe I could also seek for an alternaive solution…

    Thank you anyway, I appreciate your sincere and prompt response.

    Kind regards,
    Tone

    Hi,

    sure, you are very welcome! I hope that you can find a good solution.

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Dynamictext from TablePress’ is closed to new replies.