Support » Plugin: Jetpack - WP Security, Backup, Speed, & Growth » add values to contact form in code

  • Resolved arathra


    Is there a way I can add the values of the USER EMAIL and USER ID into the form in a read-only field for logged in users? And then make them readonly?

    When I get the form I’d like to see the email/id for the person who sent it.

    I understand I can pre-fill forms but that only works (afaik) via the URL.

    At the moment a typical field looks like this:

    [contact-field label="Email" type="email" required="true" /]

    This code below would be ideal but it doesn’t work (the email would be taken from the user’s info):

    [contact-field label="Email" type="email" value="" readonly /]


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘add values to contact form in code’ is closed to new replies.