• katmaca

    (@katmaca)


    In the footer, I have a form to simply request email to sign up for a newsletter.
    I have tried adding code to also ask for a name but it just doesn’t work or look right.

    Here is my shortcode: [contact-form-7 id=”4dec5fb” title=”Newsletter Signup”]

    Here is my form code:

    [email* your-email autocomplete:email placeholder “Email Address”][submit “Submit”]</div>

    This is in the footer of the main page at the site listed below.

    I just want another line, in the box but below the space where the email goes prompting for full name.
    If anyone can help me, I greatly appreciate it.

    • This topic was modified 12 months ago by katmaca.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Thread Starter katmaca

    (@katmaca)

    Not helpful. Sorry. Yes, I can find all the sources on line. I have read them and I try what they say.
    But I am not getting a simple two line prompt for name and email to work in my footer.
    I appreciate you may not know I am a seasoned programmer – but a new user to this app.
    I can continue to get just an email but I really would like to get a name as well.
    I have changed my code to be this but now neither field shows up and the submittor gets and error message.
    Note: without the class designation I literally get NOTHING after my title line.

    Title: Get our newsletter!

    <div class=”form-wrapper”>

    <label>Name [name* your-name] </label>

    <label>Email Address [email* your-email autocomplete:email placeholder “Email Address”]</label>

    [submit “Submit”]</div>

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Editing form for input’ is closed to new replies.