• Hello, this plugin is really great. I needed a contact form for a product catalogue which informs me what product the information sent is refering too, so this works great. I just would like to know if its possible to also add values from custom fields that are specified in each post. what code would i need to add a custom field that i created?

    Thank you for your help!!

Viewing 4 replies - 16 through 19 (of 19 total)
  • Hey Chris,
    Great plugin! We’re using Cimy User Extra Fields to get more info when a user signs up to use the site. We’d like to dynamically fill in the contact form with the custom user data when a user is signed in. Is it possible to ties these 2 plugins together somehow?

    Awesome plugin! The default info is so easy to use! Thanks in advance.

    Plugin Author sevenspark

    (@sevenspark)

    Hi jtdesign00,

    Yup, you can easily do this with shortcodes. If Cimy provides its own shortcodes, just pop them into CF7 DTX, otherwise you can create a simple shortcode that calls the get_cimyFieldValue() function with the current user ID and the passed key. See the CF7_get_current_user code for a sample you can work off of.

    Best,

    Chris

    Hey Chris,
    Thanks so much for the quick response. I had tried working with the CF7_get_current_user as a starting point before searching the forums. Cimy writes the user meta to its own table and I don’t have the programming knowledge to create the calls myself.

    I found WP User Manager which adds the meta info into the same table and am using that instead of the Cimy plugin. That made it really easy to use your code with the additional keys we created!

    For anyone else who may find this useful, we’re using the default code to call in the standard user info. For example: [dynamictext user-email “CF7_get_current_user key=’user_login'”]

    Using CF7 DTX in conjunction with WP User Manager, we’ve created additional user fields such as ‘phone’ and can easily call in the info dynamically. For example: [dynamictext user-email “CF7_get_current_user key=’wpum_phone'”] ‘The wpum_’ is a default prefix to the key when using WP User Manager.

    Plugin Author sevenspark

    (@sevenspark)

    Glad you got it sorted! And thank you! ??

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘[Plugin: Contact Form 7 Dynamic Text Extension] applying custom keys’ is closed to new replies.