• Resolved lisahartjes

    (@lisahartjes)


    I use WordPress as the framework for my business site, and I’m having some problems. I want to use PayPal’s shopping cart system, but when I paste the appropriate code into the Edit HTML source and click on Update, it is stripping out part of the code and I can’t figure out why.

    The original code is:

    <input type=”image” src=”https://www.hartfeltproductions.com/images/sc-but-01.gif&#8221; border=”0″ name=”submit” alt=”Make payments with PayPal – it’s fast, free and secure!”>

    When I update the html source, here’s what ends up on the page:

    <input type=”image” alt=”Make payments with PayPal – it’s fast, free and secure!”>

    Does anyone have any ideas on what’s going on, and what I can do to fix it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter lisahartjes

    (@lisahartjes)

    Okay, looks like it’s a bug with the rich text editor. When I turn that off, the form works just fine.

    Regardless, this is something that needs to be fixed so other people don’t spend hours like I did, trying to figure out what’s wrong.

    moshu

    (@moshu)

    Code is never supposed to be pasted into a wysiwyg editor… Never. That’s not a WP-sepcific thing.
    Wysiwyg is for code-illiterate users.

    niziol

    (@niziol)

    It needs to be enclosed in the proper form tags and have a form action specified, doesn’t it? As long as the code is wrapped in the <code> tag it displays properly, it just needs to know that it’s a form and needs to know what to do when pressed!

    I’ve pasted the code in, in the rich editor, enclosed in the code tags and it appears just fine, it’s just missing the form elements.

    Good luck,
    Michael.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with forms’ is closed to new replies.