• Resolved jordanwebdev

    (@jordanwebdev)


    Hi, I am using the form builder. I’ve tried adding an ID to the email field, but when I load my page, it’s gone.

    <label for="testtt">Enter your e-mail address:</label>
    <input id="testtt" type="email" name="EMAIL" placeholder="Your email address" required />
    
    <input type="submit" value="Sign up" />

    Any idea why the ID is being stripped out? Note, I don’t want to nest the input inside of the label element. I’m using Achecker, and it seems to prefer the markup in the example above.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hello,

    Can you please share a link to the page where this form is placed?

    Thread Starter jordanwebdev

    (@jordanwebdev)

    Hello, I’d rather not, as it’s a development site, and we’re trying not to draw attention to it. Basically, it’s just the front page of a website, where I have inserted the shortcode for the form. It’s very basic.

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hello,

    I tested it but I’m unable to replicate the issue. The ID stays intact after saving the form. Are you using the latest version of our plugin?

    Plugin Author Danny van Kooten

    (@dvankooten)

    Are you sure you are showing the (correct) form using our [mc4wp_form] shortcode while clearing your caches after updating the form mark-up?

    Thread Starter jordanwebdev

    (@jordanwebdev)

    Hi, thank you for your response. I apologize, it was an issue with some code I had, which searched and removed all IDs!

    Plugin Contributor Lap

    (@lapzor)

    Awesome, ?Thanks for letting us know.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Add ID to input in form’ is closed to new replies.