Support » Plugin: Post My CF7 Form » Getting default values from the context

  • Resolved misstest

    (@misstest)


    Can you autofill the author name via URL?

    What I’m trying to do is that a user shares a link of this form, this link detects the name of the user who is sharing this form so when someone clicks this link it autofill the field where it says author.

    Something like: mysite.com/?author_name=user_id maybe?

    Like the Getting default values from the context

Viewing 1 replies (of 1 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    sure this is possible, but you’ll need to code this.

    The plugin provides a filter to pre-fill your form 'cf7_2_post_form_values' (see FAQ #9 for an example). You’ll need to check the $_GET global variable for the submitted author attribute.

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