WordPress.org

Ready to get started?Download WordPress

Forums

Unable to add Image Submit Button (3 posts)

  1. winterain
    Member
    Posted 8 years ago #

    i'm trying to add a form on my posts with an image submit button using this code:

    <input type="image" src="play.jpg" name="Submit" />

    However, upon exiting the html edit window, WP automatically deletes off the 'src="play.jpg"' part... how can i get this to work? Please help! Thanks in advance.

  2. maerk
    Member
    Posted 8 years ago #

    Firstly, I'm not sure you can enter forms into WP posts, but maybe you can :)

    Secondly, it sounds like you're using the rich text editor. The RTE likes to override any custom code you enter into the HTML window, which makes the HTML window kinda pointless if you ask me, but you can easily disable it to rid yourself of RTE woes.

    There's a checkbox in your profile, at the bottom of the page, that you can uncheck to disable to RTE.

  3. winterain
    Member
    Posted 8 years ago #

    Yes! Disabling RTE worked... what a stupid glitch.. :) RTE is nice though.. sigh..

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags