Button to run script

Discussion created by nella on Oct 5, 2012
Latest reply on Oct 11, 2012 by taylorsharpe

Hi all,

We will be doing a % price increase at our company and I need a little help with a script that will run from a button.

I have a field which contains the existing product price.

I created a field dropdown list which contains different percentages such as .01, .02 etc.

I created a button to run the calculation.

So, I need to have the updated price appear in the price field when I choose the percentage and click the button.

I also would like the text color to change in the price field when the price has been updated.