Log in | Register | Lost password

Bottom
HTML Forms are getting mangled
  • Posted: 08.12.2006, 18:35
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I recently converted from Content Express to Pagesetter and imported all of my CE content into PS. One of my publications has an HTML form in it that is getting changed somewhere along the line.

    Here is how the code looks in Xinha/HTMLArea when you click the "Toggle HTML Source" button:

    Code

    <form action="https://www.otherexample.com/cgi-bin/webscr" method="post">

    <input type="hidden" value="_xclick" name="cmd" />

    <input type="hidden" value="membership@example.com" name="business" />

    <input type="hidden" value="US 1-Year Renewal - Standard" name="item_name" />

    <input type="hidden" value="US1RS" name="item_number" />

    <input type="hidden" value="22.00" name="amount" />

    <input type="hidden" value="/images/banner.gif" name="image_url" />

    <input type="hidden" value="0" name="no_note" />

    <input type="hidden" value="USD" name="currency_code" />

    <input type="image" border="0" src="images/button_1yr.gif" name="submit" />

    </form>


    If you display the page and view the source in your browser, you see:

    Code

    <form method="post" action="https://www.otherexample.com/cgi-bin/webscr">

    <input type="hidden" value="_xclick" />

    <input type="hidden" value="membershi&#121;&#064;&#100;xample.com" />

    <input type="hidden" value="US 1-Year Renewal - Standard" />

    <input type="hidden" value="US1RS" />

    <input type="hidden" value="22.00" />

    <input type="hidden" value="/images/banner.gif" />

    <input type="hidden" value="0" />

    <input type="hidden" value="USD" />

    <input type="image" border="0" src="images/button_paypal-1yr.gif" />

    </form>


    As you can see, the "name" variables are removed and the email address gets mangled.

    Is there something in the setup I overlooked, or something else I can do to fix this?

    This form worked fine in Content Express...

    Thanks!
  • Posted: 31.07.2008, 23:11
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Did you ever get an answer to this? I'm having the same problem.
  • Posted: 01.08.2008, 12:27
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    unfortunately, no I didn't. My (completely inelegant) solution was to use ContentExpress for my pages that had forms, and PageSetter for the rest.
  • Posted: 03.08.2008, 21:21
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I believe it is the Xinha editor that does it. Nothing I can change :-(

Template courtesy of Designs By Darren.