htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 2: htmlArea 2 & 3 archive (read only): htmlArea v2.0:
Problem with htmlArea while submit form


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


dragonvn
New User

Jan 3, 2005, 1:41 AM

Post #1 of 3 (4419 views)
Shortcut
Problem with htmlArea while submit form Can't Post

I am developing CMS by ColdFusion and MS Access. In my project, I am using free htmlArea but not successful. Here is my problem:

I could not insert or update data from textarea based on htmlArea version 2.03

For example: I have a querry update like this

UPDATE news_article SET header = '#Form.header#', sub_text = '#Form.sub_text#', text = '#Form.text#' WHERE id = #URL.ID#

It did not update the database. But if I took out text = '#Form.text#' like this

UPDATE news_article SET header = '#Form.header#', sub_text = '#Form.sub_text#' WHERE id = #URL.ID#

then it worked well.

I defined table news_article: header (text), sub_text(text), text (Memo). And here is my form:


Code
 <form method="post" action="">					   

<script language="javascript1.2" defer>
var config = new Object();
config.width = "90%";
config.height = "200px";
config.bodyStyle = 'background-color: white; font-family: "Verdana"; font-size: x-small;';
config.debug = 0;

editor_generate('text',config);
editor_setHTML('text', "<cfoutput>#find_news.text#</cfoutput>");
editor_updateOutput('text');
</script>
<input type="hidden" value="" id="text" name="text">
</form>


=============

Please give me some suggestions. Thank in advance!

Tony Tran


(This post was edited by dragonvn on Jan 4, 2005, 5:42 PM)


dragonvn
New User

Jan 4, 2005, 5:44 PM

Post #2 of 3 (4358 views)
Shortcut
Re: [dragonvn] Problem with htmlArea while submit form [In reply to] Can't Post

Nobody knows what is going on with my problem?

Whenever I click submit button, it takes me to a blank page:

The page can't be displayed. HTTP 500 Internal Server.


dragonvn
New User

Jan 4, 2005, 5:59 PM

Post #3 of 3 (4357 views)
Shortcut
Re: [dragonvn] Problem with htmlArea while submit form [In reply to] Can't Post

Alright, I fixed it up and know where is the cause. I changed the variable from text to content and it worked well.

 
 
 


Search for (options)