Hi
I know this should be easy and i have tried looking for answer but cant work it out:
I would like to calculate a sum. One item is unit price contained in label field which is drawn down from DB, the other is a dollar amount entered manualy in an input field.
I have created calculate script activated by a button
var price = Number (Apperyio("price").val());
var dollars = Number (Apperyio("dollars").val());
var day = price/dollars;
Apperyio('day').text('$' + day.toFixed(2)) ;
However I cannot seem to get it to calculate. I think the problem is it not picking up the value in the label field which is drawn down from database.
I have tried looking in get satisfaction but have not been sucessful in fixing problem
I would wecome any suggestions