Re: Cute Editor 6;0 Form field probs

  •  05-28-2007, 12:50 AM

    Re: Cute Editor 6;0 Form field probs

    More info on this one.
     
    I create a page and store the content into the database. This is the content:
     
    ------------------------------<br><h1 align=center>New Form</h1><br><br><form method=POST action="/rise/formproc.asp?uid={B4EF718E-DA4B-441B-8A7A-51C0D089C3A5}"><table width="95%"><tr><td>Sample textbox</td><td><input type=text name=t1 value="sample text"></td></tr><TR><TD align="right">Please enter the code<br>shown here ==></TD><TD><!-- #include virtual="rise/CAPTCHA/CAPTCHA_form_inc.asp" --></TD></TR><tr><td colspan=2><input type="submit" name="b1" value="Submit"></td></tr></table></form><br>------------------------------<br>
     
    That was created by doing a "response.write" to show the content of the page before CE screws with it. I have bolded a line that CE is screwing with.
     
    This is what CE presents...
     
    <h1 align="center">New Form</h1>
    <br />
    <br />
    <form action="/rise/formproc.asp?uid="{B4EF718E-DA4B-441B-8A7A-51C0D089C3A5} method="post">
        <table width="95%">
            <tbody>
                <tr>
                    <td>Sample textbox</td>
                    <td><input value="sample text" name="t1" /></td>
                </tr>
                <tr>
                    <td align="right">Please enter the code<br />
                    shown here ==&gt;</td>
                    <td><!-- #include virtual="rise/CAPTCHA/CAPTCHA_form_inc.asp" --></td>
                </tr>
                <tr>
                    <td colspan="2"><input type="submit" value="Submit" name="b1" /></td>
                </tr>
            </tbody>
        </table>
    </form>
     
    So you know that CE is mangling the stuff because it transforms the <br> tag to <br /> in the tags near the top. But worst of all, it takes perfectly good code, the <form> tag, and puts method=post at the end instead of the beginning where I coded it, and then screws up the quotes after the uid parameter that I specify.
     
    Needless to say that I have removed the editor.XHTMLOutput = "true" line from my code that I had referred to in the previous post. It fixes one thing but something else gets broken.
     
    PLEASE FIX THIS CODE ASAP!!!!!!!!!!!!!

    I HAVE SPENT HOURS AND HOURS PROVING THAT YOUR CODE IS SCREWING UP AND I CANNOT AFFORD TO  BE WASTING ALL OF THIS TIME ON SOMETHING THAT YOU RELEASED AS PRODUCTION CODE!!!!!!!!

View Complete Thread