Question on putting the "editor.Draw()" output to a variable instead of to the client browser

  •  11-30-2004, 11:34 AM

    Question on putting the "editor.Draw()" output to a variable instead of to the client browser

    Hi - Hopefully a simple answer to this....
     
    I am using the product and love it.  It works great in my environment, but I have a need where I am building dynamic forms. When I build these forms, I am building the form in a variable, and then at the end of my process simple doing a response.write of the variable out to the browser which contains the complete form.
     
    Is there a way in which at the point I would be adding the WYSIWYG, can I read the content of the Editor and append it to a variable instead of performing a Editor.draw operation?  For instance:

        ... 
        xOutput = xOutput & "<tr><td><input type='text' name='name' size='10'></td></tr>"
        xOutput = xOutput & "<tr><td>" & editor.contents & "</td></tr>"
        xOutput = xOutput & "<tr><td><input type='text' name='name2' size='10'></td></tr>"
        ...
     
    Where here in line 2 I would be appending the content to my variable instead of performing an editor.draw function.

    Thanks in advance,

    Rodney
    Tampa, Fl.
View Complete Thread