close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

change value button

Thread began 2/16/2010 3:10 pm by mr hankey | Last modified 2/17/2010 8:48 pm by Dani Chankhour | 656 views | 3 replies |

mr hankey

change value button

hi,

I have in my db a clients table which holds a conversion column with default value "0"

i need to create a button on details page which when click changes this from 0 to 1 where 1 = a sale.

could you please advise how i would do this?

many thanks

Sign in to reply to this post

Dani Chankhour

You can use the DataAssist Update Server Behavior to do this, and set the trigger to use the button clicked. You will need to set a hidden field to store the your client id, because you will use that to know which record to update.

Sign in to reply to this post

mr hankey

thanks dani, so do i put on step 1 the key column "conversion" and value 0 then next page select "conversion" and put in value 1?

thanks again

Sign in to reply to this post

Dani Chankhour

No, so after you set the value of the hidden field to be your primary key column, the key column needs to be the key column of your table (the ID), which should be the unique column, and set the value to the hidden input field.

and on the next step you would select the conversion column and set the value to 1.

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