close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

HTML Editor w/ADDT - Any solutions or instructions?

Thread began 3/23/2010 1:41 pm by tlshoaff392246 | Last modified 4/14/2010 4:51 pm by jerry348919 | 2412 views | 7 replies |

tlshoaff392246

HTML Editor w/ADDT - Any solutions or instructions?

Greetings,

I've seen posts concerning this but haven't seen a solution.

Has anybody had any luck getting the HTML editor to work properly with an ADDT form? If so, would you please share? Every time I an the HTML editor and select "update" it deletes my entry in the database.

Thanks...

Sign in to reply to this post

Jimmy Wu

This most likely has to do with the ADDT form having dynamically named fields that doesn't get the same name when HTML Editor is applied. What is the code for the form before and after HTML editor is applied?

Sign in to reply to this post

tlshoaff392246

Code: Before and After

BEFORE:

<tr>
<td class="KT_th"><label for="cContent_<?php echo $cnt1; ?>">Content:</label></td>
<td><textarea name="cContent_<?php echo $cnt1; ?>" cols="100" rows="20" id="cContent_<?php echo $cnt1; ?>"><?php echo KT_escapeAttribute($row_rstbl_content['cContent']); ?></textarea>
<?php echo $tNGs->displayFieldHint("cContent");?> <?php echo $tNGs->displayFieldError("tbl_content", "cContent", $cnt1); ?> </td>
</tr>

AFTER:

<tr>
<td class="KT_th"><label for="cContent_<?php echo $cnt1; ?>">Content:</label></td>
<td><?php
// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_1 = CreateRichTextEditor ("cContent_php_echo_cnt1_", "../HTMLEditor/", "100%", "600px", "Default", "../custom/content_release3_cContent_php_echo_cnt1_1.js", "".KT_escapeAttribute($row_rstbl_content['cContent']) ."");
?>
<?php echo $tNGs->displayFieldHint("cContent");?> <?php echo $tNGs->displayFieldError("tbl_content", "cContent", $cnt1); ?> </td>
</tr>

Any ideas???

Sign in to reply to this post

Ray BorduinWebAssist

Maybe try:

<tr>
<td class="KT_th"><label for="cContent_<?php echo $cnt1; ?>">Content:</label></td>
<td><?php
// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_1 = CreateRichTextEditor ("cContent_" . $cnt1. "", "../HTMLEditor/", "100%", "600px", "Default", "../custom/content_release3_cContent_php_echo_cnt1_1.js", "".($row_rstbl_content['cContent']) ."");
?>
<?php echo $tNGs->displayFieldHint("cContent");?> <?php echo $tNGs->displayFieldError("tbl_content", "cContent", $cnt1); ?> </td>
</tr>

Sign in to reply to this post
Did this help? Tips are appreciated...

tlshoaff392246

Success....

Ray,

Thank you sooo much! By simply removing the "KT_escapeAttribute" from the code made all of the difference. Now I can proceed. I really appreciate it.

Torrey

Sign in to reply to this post

jerry348919

HTML Editor and ADDT

I just downloaded the new HTML Editor and am having the following issue:

I create the Dynamic Form using Dynamic Form Wizard in ADDT
(All works as it should when tested)

When I add HTML Editor to the field I wish to enable HTML Editor on, it makes the necessary changes to the file, when tested, All looks as if it us going to work, however when I hit the update or insert record, it completely removes all the text from that field in the database.

I have read the above post regarding how to resolve the issue... (remove KT_escapeAttribute) however it does not resolve the problem of not updating or inserting new record as required.

Any information or assistance would be greatly appreciated.

Sign in to reply to this post

Jason ByrnesWebAssist

can you send a copy of your page please so that I can examine the code?

Sign in to reply to this post

jerry348919

Figured it out

Sorry for the delay, was under the weather the last couple of days. I figured out by having to go into the insert and update fields and re-linking the text field. Somehow I felt that this should have been done automatically in HTML Editor as the old version handled this quite nicely.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...