Contact form: static text field?

  • I’m creating a page with a contact form. I can insert descriptive text of my own either before the form, or after it (“Howdy” or “Bye now”). But within the form itself, where the questions are, I’m not seeing any way to put text that’s not tied to one particular question (“These first questions are …”, “This second set is …”). I could mess with the generated short codes, but I don’t like to do that. Any suggestions? Thanks!

    The blog I need help with is: (visible only to logged in users)

  • Hello there,

    You can just add the text at the places you need in the code, but make sure they are in-between the code [contact form] and [/contact form]

    I just tried what you were trying and here is how it looks
    https://simplysaru.wordpress.com/2015/06/25/testing-contact-form/

    Here is the code I used, from a generic contact template.

    [contact-form]
    
    First set of questions:-
    [contact-field label="Name" type="name" required="true" /]
    [contact-field label="Email" type="email" required="true" /]
    [contact-field label="Website" type="url" /]
    
    Second set of questions:-
    
    [contact-field label="Comment" type="textarea" required="true" /]
    [/contact-form]

    Hope this helps.

  • Thank you! (Doh. I wasn’t expecting it to be so simple.)

  • :) Glad to help. All the best!

  • The topic ‘Contact form: static text field?’ is closed to new replies.