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

Update Record Form Blank - After Data Assist / CSS Form Builder / Re-Binding

Thread began 3/18/2010 5:42 pm by dlovas275157 | Last modified 3/29/2010 9:24 pm by dlovas275157 | 1420 views | 8 replies

Eric Mittman

You do have the correct steps, but for an update page you will need to do one more thing. The forms that are built by DataAssist by default are defaulted to show the current value for a particular column, the information comes from the recordset on the page.

You can either just bind the recordset value to it's corresponding form element, or you can manually update the code to add in the binding from the recordset. If you bind the value through the bindings interface you will loose the value that is there by default from CSS Form Builder.

By default form builder sets the value of the form elements to the validated text in case there is an error on the form this will retain the values that were entered by the user. I think in your case though you would probably prefer to have the default values from the recordset show if there are any error when submitting the form.

Your update page is not updating the record correct? Can you confirm that the update server behavior is being triggered? It looks like the trigger is set to any form post, you should try updating this to be submit button pressed. If you still have trouble with it after updating the trigger you should print out the query by adding a new line just after what is currently on line 73. In this new line add this code:

die($WA_Sql);

This should force the update query to be printed to the screen and let you know what is going on with it. If you do not get the query to be printed then it indicates that the update is not being triggered. Please post back with your result.

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