Form HTML Input Tag Issues

  • Unknown's avatar

    I am using the below code on one of my pages to create a simple form. When I switch from the text editor to the visual editor, I see the form fine. However, once I preview my changes, the page shows up without the ‘<input>’ fields I specified. I am not able to figure out why the input fields are not showing up in my page.

    <form action=’some-action’ method=’POST’>
    Last Name : <input id=’name’ maxlength=’80’ name=’name’ size=’20’ type=’text’ />
    Email : <input id=’email’ maxlength=’80’ name=’email’ size=’20’ type=’text’ />
    <input type=’submit’ name=’submit’>
    </form>

    There are more fields but I simplified it for this issue.

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

  • Unknown's avatar

    Hi there,

    WordPress.com strips certain html, including <form>, for security purposes.

    Add Code to Your Site

    You could try using the standard contact form.

    Alternatively, you could use a service like Google Forms, then create a link to the form from your site.

  • The topic ‘Form HTML Input Tag Issues’ is closed to new replies.