Cute Editor 6;0 Form field probs

Last post 05-29-2007, 12:06 PM by Adam. 13 replies.
Sort Posts: Previous Next
  •  05-18-2007, 4:56 PM 29820

    Cute Editor 6;0 Form field probs

    In my application, I create some default page text for a form .. form tag, a text box etc.
     
    It seems as if cute 6.0 adds a whole bunch of nonsense parameters to the html
     
    eg I'll create something like <input type=text name=t1 value="text"> but cute will add height, maxlength and other parameters that I do not want added... Same goes for the <form> tag .. it adds some parameters that I do not want added.
     
    Can I fix this by altering something, or is this  a problem with the control?
     
    ..Rick..
  •  05-22-2007, 4:25 AM 29876 in reply to 29820

    Re: Cute Editor 6;0 Form field probs

    rwhawkes:
    In my application, I create some default page text for a form .. form tag, a text box etc.
     
    It seems as if cute 6.0 adds a whole bunch of nonsense parameters to the html
     
    eg I'll create something like <input type=text name=t1 value="text"> but cute will add height, maxlength and other parameters that I do not want added... Same goes for the <form> tag .. it adds some parameters that I do not want added.
     
    Can I fix this by altering something, or is this  a problem with the control?
     
    ..Rick..
     
    Rick,
     
    It's strange. Can you reproduce this issue in the following example?
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  05-22-2007, 7:51 PM 29925 in reply to 29876

    Re: Cute Editor 6;0 Form field probs

    No because I am not creating the initial source for that page....
     
    What would it do if you put a little form on the page with form and /form tags and a text box.. does it mess up the code you specify?
     
    I did type in a form on that page in html mode, and it does mess with the code, probably actually fixing it.
     
    One thing about my code though, is that all the pages have this at the top of the page:
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     
    On my page ... I go into html mode and type in this:
     
    <form action="/rise/formproc.asp?uid={***}" method="post" >
        <table width="95%">
                <tr>
                    <td>Sample textbox</td>
                    <td><input type="text" maxlength="12" size="20" value="sample text" name="t1"></td>
                </tr>
               <tr>
                    <td colspan="2"><input type="submit" value="Submit" name="b1" ></td>
                </tr>
        </table>
    </form>
     
    .... Then I go into "normal" mode and then right back to html mode and this is what I see:
     

    <form accept-charset="UNKNOWN" action="/rise/formproc.asp?uid={***}" method="post" enctype="application/x-www-form-urlencoded">
        <table width="95%">
            <tbody>
                <tr>
                    <td>Sample textbox</td>
                    <td><input start="fileopen" type="text" height="41647104" maxlength="12" loop="1" size="20" value="sample text" name="t1" /></td>
                </tr>
                <tr>
                    <td colspan="2"><input start="fileopen" type="submit" height="41662840" maxlength="2147483647" loop="1" size="20" value="Submit" name="b1" /></td>
                </tr>
            </tbody>
        </table>
    </form>
     
    ...
     
    All of that additional stuff was added by cute.
     
    I will do some more digging and get some more info. This is running on a windows 2000 advanced server VIRTUAL machine using vmware. I don't know if that makes a diff ... shouldn't though...
     
     
     
  •  05-22-2007, 9:21 PM 29940 in reply to 29925

    Re: Cute Editor 6;0 Form field probs

    It's not done by CE.
     
    >>is running on a windows 2000 advanced server VIRTUAL machine using vmware. I don't know if that makes a diff ...
     
    No.
     
    Which version of CE are you using?
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  05-23-2007, 10:11 AM 29976 in reply to 29940

    Re: Cute Editor 6;0 Form field probs

    Version 6.0 ... I'd be glad to download the latest version but don't know where to do that
  •  05-23-2007, 2:13 PM 29997 in reply to 29976

    Re: Cute Editor 6;0 Form field probs

    rwhawkes:
    Version 6.0 ... I'd be glad to download the latest version but don't know where to do that
     
    You can find the download link in the delivery email. If you've deleted this email, write to [email protected] and specify the email address used when purchasing the product.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  05-24-2007, 11:46 PM 30094 in reply to 29940

    Re: Cute Editor 6;0 Form field probs

    OK Got it ... Running the latest code now...
     
    If it's not done by CE then what is it done by?
     
    I click HTML in the bottom of the editor and enter some code,
     
    I then click Normal in the bottom of the editor and see the form
     
    I then click HTML and it has mangled the code by entering jibberish very elegantly.
     
    All of this is done without interacting with my code at all ...
     
    If not CE then what could it possibly be?
     
    I am willing to concede that something I wrap around CE is causing this because it does not behave this way in the distribution editor, but I wonder what I am wrapping around this to break it so bad.
  •  05-25-2007, 12:01 AM 30095 in reply to 30094

    Re: Cute Editor 6;0 Form field probs

    OK I have isolated this one ...

    If I have this line in the code:

    editor.XHTMLOutput = "true" 
     
    then cute mangles the form.  I am not even sure why I have it there .. probably found it on the forum for something. I will remove it and carry on. But I think it's a CE problem.
     
    ..Rick..
  •  05-28-2007, 12:50 AM 30143 in reply to 30095

    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!!!!!!!!

  •  05-28-2007, 12:06 PM 30154 in reply to 30143

    Re: Cute Editor 6;0 Form field probs

    Please try this example:
     
     
    If it works for you, please download the control again.
     
    If not, let me know the steps to reproduce the problems.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  05-28-2007, 9:47 PM 30173 in reply to 30154

    Re: Cute Editor 6;0 Form field probs

    No it does not work and the steps I use to create the problem are exactly what I already tried to articulate clearly.
     
    My program generates this code:
     
     
    ------------------------------<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>
     
    Copy and paste that into HTML mode in the example you cite for me.
     
    Then switch to normal and right back to html - two clicks of the mouse.
     
    Note that it screws up the code I put it. Most notably, it puts quotes in the wrong place in the action= parameter, thus breaking the form.
     
  •  05-28-2007, 10:40 PM 30176 in reply to 30173

    Re: Cute Editor 6;0 Form field probs

  •  05-28-2007, 11:34 PM 30178 in reply to 30176

    Re: Cute Editor 6;0 Form field probs

    OK that worked...  Thanks!
     
    Shall I download the control again?
  •  05-29-2007, 12:06 PM 30193 in reply to 30178

    Re: Cute Editor 6;0 Form field probs

    rwhawkes:
    OK that worked...  Thanks!
     
    Shall I download the control again?
     
    Yes.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML