close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Updating Record on Form Using HTML Editor

Thread began 5/24/2011 6:12 pm by A Sound Design | Last modified 6/09/2011 2:56 pm by Jason Byrnes | 1254 views | 6 replies |

A Sound Design

Updating Record on Form Using HTML Editor

I have used Form Builder to create my nice looking form to add a product using Data Assist as well. 2 Textareas in the form also use the HTML Editor using that option from FB. I tried using the simple Update Record Server Behaviour built into Dreamweaver but when I try to add the HTML Editor it does not work. All I get is the 2 Textareas with all the HTML code and the text that was inserted initially.

Sign in to reply to this post

Jason ByrnesWebAssist

I'm not sure I follow what the issue is, can you send a screen shot showing the problem and a copy of the page.

Sign in to reply to this post

A Sound Design

Basically I don't have a clue how to use the Update Record Server Behaviour. I did not create the pages with the DA Wizard. I did them manually.

I've attached my attempt at the page.

Attached Files
update_an_offer.zip
Sign in to reply to this post

Jason ByrnesWebAssist

in the update record behavior, it looks like there is asp code in the column bindings


for each column, you should click the lightning bolt and select the corresponding form binding from the bindings panel to have the correct php code added.

NOTE: the ID column should be set to be a primary key auto number field, let the database assign the value to this field rather than giving it a value through the bindings.

Sign in to reply to this post

A Sound Design

I've attached my page here. The issue I am having is that I can update the fields Title, Region Name and Price. But if I try to update either Intro Text or Content it loses the existing content in those textareas. The textareas have HTML Editor 3 embedded in them.

Updating a record with this gives an error:

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\vcb\admin\content_Update.php:11) in C:\xampp\htdocs\vcb\admin\content_Update.php on line 99

Attached Files
content_Update (2).zip
Sign in to reply to this post

A Sound Design

Ok, I've fixed it myself :). 'twas a stray <?php?> at line 60.

Works fine now.

Sign in to reply to this post

Jason ByrnesWebAssist

ok, glad to hear it is working.

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...