Page 1 of 1

how to add input values text.

Posted: Tue Mar 11, 2014 10:31 am
by navya kodali

Hello,

I have three input fields.dynamically i will type some values into that fields.after that i want to show that total of three inputs value into another input filed.
how to do this?


how to add input values text.

Posted: Tue Mar 11, 2014 11:02 am
by Maryna Brodina

Hello!

Retrieve input values with JS, do necessary calculations and save results where you need http://docs.appery.io/documentation/j...


how to add input values text.

Posted: Tue Mar 11, 2014 11:21 am
by navya kodali

Hi,
My input fields names are text1,text2,text3.
result field name is Result.

where should i wrote js how to do addition for those 3 ( text1,text2,text3).
result should be displayed in Result input field.


how to add input values text.

Posted: Tue Mar 11, 2014 7:19 pm
by Nikita

Hello,

You can add a handler for any events:
http://docs.appery.io/documentation/w...

A value of input component you can get in this way:
Appery("text1").val();