Re: After certain lengt of text in editor, form cannot be submited.

  •  03-23-2004, 4:03 PM

    Re: After certain lengt of text in editor, form cannot be submited.

     patrick,

     

    You can't capture the values by request.form by putting the <form> tag and <input> tags into the editor html view. 

     

    You can achieve that using the following code:

     

    <body>

         <FORM id="Form1" name="theForm" action="target.asp" method="post">

               'Below are the other fields

               <input name="field1" type="text" maxlength="50" id="field1" size="10" />

               <input name="field2" type="text" maxlength="50" id="field2" size="10" />

               <input name="field3" type="text" maxlength="50" id="field3" size="10" />

               <input name="field4" type="text" maxlength="50" id="field4" size="10" />

               

                'Below is the CuteEditor         

              <%

                   'Create a new editor class object

                   Dim editor

                   Set editor = New CuteEditor

                   'Set the ID of this editor class

                   editor.ID = "Editor1"

                   'Set the initial HTML value of editor control

                   editor.Text = content

                   editor.Draw()

              %>

              <INPUT id="Submit1" onfocus="save(Editor1)" type="submit" value="Update" name="Submit1">

             <BR>

             <BR>

    </form>

    </body>


    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 Complete Thread