Page 1 of 1

Calculate using two local stored variables

Posted: Tue Feb 18, 2014 7:14 pm
by Michael Maresca

Hi Everyone, I am very new to this,
I have two local stored variables, one from a database, one from user input, both which I can successfully display individually on a "results" page. My issue, is that I need the result page to display the two multiplied together (product) Any assistance would be greatly appreciate!


Calculate using two local stored variables

Posted: Tue Feb 18, 2014 7:23 pm
by maxkatz

You can read both values using local storage API (in JavaScript), add the values and then set them into a component using jQuery API or the simple Appery.io API: http://docs.appery.io/javascript-api/