WordPress.org

Forums

Contact Form 7 Dynamic Text Extension
[resolved] Multiple line dynamic text field window (2 posts)

  1. iljaz2
    Member
    Posted 1 year ago #

    I am using dynamictext form to pass the value of the page from which the contact form was accessed. The topic of a page is automatically filled in the form like this

    <p>Your Message<br />
       [dynamictext your-message "CF7_GET key='context'"] </p>

    But since it is not text area, it cannot be resized by user or made in multiple lines.
    Is it somehow possible to either copy value to the normal text area, or make dynamictext field resizable?

    It is easier to understand problem if you see it: http://zegars.tk/

    BTW, great plugin!

    https://wordpress.org/plugins/contact-form-7-dynamic-text-extension/

  2. sevenspark
    Member
    Plugin Author

    Posted 1 year ago #

    Hi iljaz2,

    What I would recommend is making the dynamic text field a separate field (perhaps the Subject) and then use the standard textarea as your message box.

    I do something very similar here and it works well: http://sevenspark.com/goods/shiftnav-pro (click on the "Questions" button at the end of the right sidebar, you'll see the product title is automatically set as the Subject)

    Currently CF7 DTX doesn't support dynamic textareas, though someone recently submitted a pull request adding this feature, so you could experiment with that if you like: https://github.com/sevenspark/Contact-Form-7---Dynamic-Text-Extension/pull/2/files

    Hope that helps,

    Chris

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7 Dynamic Text Extension
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic