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


Update page losing original values when submitted?

Thread began 2/07/2012 8:25 am by gary.brett434358 | Last modified 2/07/2012 11:32 am by gary.brett434358 | 437 views | 3 replies |


Update page losing original values when submitted?

Good afternoon, an update page was created by DA wizard, I tyen edited this to allow update of 2 tables as required, manually inserting a 2nd update table.

I have a problem now & cannot work it out despite spending several days on it! Some of the original values do not pull through to the update form, hence when resubmitted it add a zero to the value of these columns?

For example, I have 2 select boxes on my update form. The backend table has the correct values but when update form is opened the values are set to the select box title and not the actual value?

Secondly the update record created by DA doesnt insert update into the 1st update record [contacts] although it did when first created. Running both inserts individually also works, I have attached the page if anyone can see my errors?


Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

for the select lists, click the dynamic button in the property selector.

in the Select Value equal to section, you have selected the name columns:

from the WADAtblcontacts recordset, you need to select the ID columns instead.

for the contacts update issue, you need to edit the recordset so that the contactID value is returned.

add another hidden element to the page and set the initial value to use the contactID.

in the Contacts update behavior, click the lightning bolt next to the Key Column value and select the new hidden element.

Sign in to reply to this post


Hi Jason, thanks for the tips. Regarding the menu lists, that worked great.

However inserting the hidden ContactID field and applying value to key column now seems to have another strange effect. Once update it does change record but removes the value from 'refrerrelname' column which is unrelated. Its odd as though that column is referenced in the recordset I didn't include in the update page itself as no requirement.

On the hidden field I am dragging the binding of ContactID across to the value like:

<input name="ContactID" type="hidden" value=<?php echo $row_WADAtblcontacts['ContactID']; ?> />

Is that correct? I also tried just using 'ContactID' but that didnt update the record.

Sign in to reply to this post


Hi Jason, please ignore my last post, I just applied same logic as you suggested for the 1st issue with drop downs and it worked a treat.

Thanks again.


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





Ease of use


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