WordPress.org

Ready to get started?Download WordPress

Forums

Forms are mangled! (2 posts)

  1. Loganaew
    Member
    Posted 8 years ago #

    The new RTE is horrible, it mangles forms entirely. Not sure if it's the RTE or the new repair of invalidly next HTML.

    Anyways, I am creating a page, I wrote the HTML by hand and it is this:
    If you have any comments, suggestions or questions... or just want to send me an email! Please use the form below.
    <form method="post" action="http://www.loganwortman.com/mail.php">
    Name: <input type="text" name="name" size="40" /><strong />

    Email: <input type="text" name="email" size="40" />

    Country: <input type="text" name="country" size="40" />

    Subject: <input type="text" name="subject" size="40" />

    Message:

    <textarea name="message" cols="40" rows="4"></textarea>
    <input type="submit" name="submit" value="Send"></input> <input type="reset" name="reset" value="Clear"></input>
    </form>

    BUT, once I save the page after inputting my code it breaks a little. Save it again, and it turns into this:
    If you have any comments, suggestions or questions... or just want to send me an email! Please use the form below.
    <form method="post" action="http://www.loganwortman.com/mail.php"> Name: <input type="text" name="name" size="40" /><strong />Email: <input type="text" name="email" size="40" />
    Country: <input type="text" name="country" size="40" />
    Subject: <input type="text" name="subject" size="40" />
    Message:
    <textarea name="message" cols="40" rows="4">
    <input type="submit" value="Send" name="submit"></input> <input type="reset" value="Clear" name="reset"></input> </textarea>
    </form>

    And looks like this:
    http://www.loganwortman.com/contact

    It's horrible! WP mangles forms, this never occured in 1.5. Is it possible to downgrade? Can I just reupload the files of the older version? 2.0 is terrible.

  2. schestowitz
    Member
    Posted 8 years ago #

    Go to user preferences and turn the rich text editor (RTE) off whenever you edit posts with custom CSS, forms and the like.

    Otherwise, you might lose information that was originally in your post. It's a known issue and the best thing is to avoid the RTE *before* saving anything which you know comprises some complex markup.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.