PDA

View Full Version : Problems with textfields



filippo.ferrari
2 Nov 2010, 9:25 AM
I've problem with my textfields, i want to get the values but I receive undefined.

In my app I've a form with some textfields, If I set a value with setValue() function I can obtain values with mytextfield.value, If the textfield value is user inserted I receive "undefined".

If I log it "value" property does not exist... :-/

bozzoz
2 Nov 2010, 12:13 PM
Filippo prova

var value = myTextField.getValue();

;)
Ciao

filippo.ferrari
2 Nov 2010, 11:38 PM
Ok, It works!

(Avevo fatto così... ~o) )