troubleshooting Question

How To: Integrate InnovaStudio (Text Area Replacement) into this webform.

Avatar of Onlinetracker
Onlinetracker asked on
3 Comments1 Solution976 ViewsLast Modified:
I need to get INNOVASTUDIO - to work with XCENT.COM's products to make life easier. But I've run into problems. Perhaps someone knows how to fix this. I'll provide any information needed to get this done as soon as possible. Thanks.

The area in question is a textbox:

Response.Write "<td><textarea name=""MESSAGE"" cols=""35"" rows=""12"" wrap=""physical"">" & sMessage & "</textarea></td></tr>"

I want to integrate this code:

          var oEdit1 = new InnovaEditor("oEdit1");
          //Specify the icon path (within the script path)

Here is the entire code snip for the sub, feel free to point me in a direction if not provide the solution... (I'm not a programmer, but I am learning, a long way to go...) :

Sub ShowPostForm
    If lMsgID > 0 Then
        sTabTitle = GLS_PostTitleEdit
        sBtn = GLS_PostBtnEdit
    ElseIf lThreadID > 0 Then    
        sTabTitle = GLS_PostTitleReply
        sBtn = GLS_PostBtnReply
        sTabTitle = GLS_PostTitleNewThread
        sBtn = GLS_PostBtnNewThread
    End If  

    Response.Write "<TABLE WIDTH=""" & gsDefTableWidth & """ CELLSPACING=""0"" BORDER=""0"" CELLPADDING=""2"" CLASS=""MSGPageBG"">"
     Response.Write "<TR><TD>"
     Response.Write DoNavTree(lForumID, lThreadID, sTabTitle)
     Response.Write "</TD></TR></TABLE>"
    Response.Write"<TABLE BORDER=""0"" CELLPADDING=""0"" CELLSPACING=""0"" WIDTH=""" & gsDefTableWidth & """>"
     Response.Write"<TD Class=""MSGTab"" width=""35%""><DIV Class=""MSGTab"">&nbsp;" & sTabTitle & "&nbsp;</DIV></TD>"
     Response.Write "<TD WIDTH=""65%"" ALIGN=""RIGHT"" Class=""MSGEmpty"">"
     Response.Write "&nbsp;&nbsp;</TD></TR>"
     Response.Write"<TR><TD COLSPAN=""2"" Class=""MSGTab"" HEIGHT=""2""><IMG BORDER=""0"" SRC=""MSGImages/pix.gif"" WIDTH=""1"" HEIGHT=""1""></TD></TR>"
     Response.Write"<TR><TD COLSPAN=""2"" Class=""MSGTab"" HEIGHT=""2""><IMG BORDER=""0"" SRC=""MSGImages/pix.gif"" WIDTH=""1"" HEIGHT=""1""></TD></TR>"
     Response.Write "</TABLE>"
     Response.Write "<TABLE WIDTH=""" & gsDefTableWidth & """ CELLSPACING=""0"" BORDER=""0"" CELLPADDING=""1"">"
     Response.Write "<TR><TD CLASS=""MSGPageBG"">"
     Response.Write GLS_RequiredText
     Response.Write "</TD></TR>"
     Response.Write "<TR><TD class=""MSGBox"">"
     Response.Write "<TABLE     WIDTH=""100%"" CELLSPACING=""0"" CELLPADDING=""4"" BORDER=""0"" class=""MSGPageBG"">"
     If gbUserPostCapable Then
               Response.Write "<FORM METHOD=""POST"" ACTION=""MsgPostMessage.asp"" NAME=""EDITFORM"">"
               Response.Write "<INPUT TYPE=""HIDDEN"" NAME=""CMD"" VALUE=""SAVE"">"
               Response.Write "<INPUT TYPE=""HIDDEN"" NAME=""ForumID"" VALUE=""" & lForumID & """>"
               Response.Write "<INPUT TYPE=""HIDDEN"" NAME=""ThreadID"" VALUE=""" & lThreadID & """>"          
               Response.Write "<INPUT TYPE=""HIDDEN"" NAME=""MsgID"" VALUE=""" & lMsgID & """>"          
               Response.Write "<tr><td valign=""top""><span class=""MSGFormText"">" & GLS_PostUserNamePrompt & "</span></td>"
               Response.Write "<td>" & gsUserName & "<BR>"
               Response.Write GLS_PostNotUserName & "</td></tr>"
               If objErr.Exists("TITLE") Then
                   Response.Write "<TR><TD colspan=""2""><DIV CLASS=""MSGError"">" & objErr.Item("TITLE") & "</TD></TR>"
               End If
               Response.Write "<tr><td valign=""top""><span class=""MSGFormText"">" & OutMatch(lThreadID,0,GLS_Required, "") & GLS_PostTitlePrompt & "</span></td>"
               Response.Write "<td><input type=""TEXT"" name=""ThreadTITLE"" VALUE=""" & sThreadTitle & """ maxlength=""80"" size=""35""></td></tr>"
               If objErr.Exists("MESSAGE") Then
                   Response.Write "<TR><TD colspan=""2""><DIV CLASS=""MSGError"">" & objErr.Item("MESSAGE") & "</TD></TR>"
               End If
               Response.Write "<tr><td valign=""top""><span class=""MSGFormText"">" & GLS_Required & GLS_PostMessagePrompt
             '**icon chooser
             If gbUseIcons Then
                 Response.Write "<BR>" & "<A HREF=""MSGIconMaint.asp"" OnClick=""MSG_SelectIcon(); return false;"">" & GLS_PostInsertIcon & "</A>"
                 Response.Write "</span>"
             End If
             Response.Write "</td>"
             Response.Write "<td><textarea name=""MESSAGE"" cols=""35"" rows=""12"" wrap=""physical"">" & sMessage & "</textarea></td></tr>"
            '***Disable autoformat
            Response.Write "<TR><TD>&nbsp;</TD><TD><SPAN CLASS=""MSGFormText"">"
             Response.Write "<INPUT TYPE=""CHECKBOX"" VALUE=""Y"" NAME=""NoAutoFormat""" & OutMatch(bNoAutoFormat,True," CHECKED", "") & ">&nbsp;" & GLS_PostNoAutoFormat
             Response.Write "</TD></TR>"    
               Response.Write "<tr><td>&nbsp;</td><td><input type=""submit"" class=""XcBtn"" value=""" & sBtn & """>"
               ShowHTMLFile "MSGHtmlText/MSGPostDenied.htm"
          End If    

    Response.Write "</table>"
    Response.Write "</TD></TR>"
    Response.Write "<TR class=""MSGPageBG""><TD>"
    Response.Write "</TD></TR>"
    Response.Write "</TABLE>"
End Sub


*** Thanks for any assistance.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros