close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Data not inserting to database

Thread began 6/28/2010 3:43 pm by nuvision2575406470 | Last modified 7/28/2010 10:34 am by Jason Byrnes | 1251 views | 5 replies |

nuvision2575406470

Data not inserting to database

My configuration consist of DreamWeaver CS5, WebAssist latest version of form builder and MySQL 5.00. I've created the Site, the form and SQL database, however when I complete and submit the form (contact form), no data is written to the table in sql.

The connection is good, the recorrd set is in place and all looks good, however no records are getting to the table.

What have i missed?

Sign in to reply to this post

Jimmy Wu

Form builder does not set up the behavior to insert the posted form elements into the database or send it out through email. It is just a tool to design a form and doesn't have the tools to manipulate the data that is entered into the form. To insert the information into your database, you will have to either hand write the code to insert the posted values into the database or use an extension that will write the behavior for you, like DataAssist.

Sign in to reply to this post

biz295654

Is there a tut for getting the form to insert to sql? I have dataassist, am considering getting the form builder, but want to check out level of difficulty to marry the two. Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

No, there is not a tutorial for creating a form using Form Builder and suing DataAssist to insert the form information to a database, but it is a fairly easy thing to accomplish.


Just make sure the forms action is set to post to itself and that the forms method is set to POST.

then go to the Server Behaviors panel (Window -> Server Behaviors).

Click the plus button and select WebAssist -> DataAssist -> Insert Record -> Single Record Insert

Set the trigger to Use either any form post or currant page submit.

Choose your database connection and the table the data will be inserted to.

On the second page of the Insert Record Wizard, select each column from your database, then click the lightning bolt and select the corresponding form field.

Sign in to reply to this post

biz295654

Thank you.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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