Results 1 to 2 of 2
  1.    #1  
    I'm able to get the the textfields input, but unable to add the values together.

    I've tried:
    this.controller.get('textField2FieldValue').update(this.cwRatemodel[textField2]); = parseInt(textField1) + parseInt(textField2);

    but I keep getting a NaN.

    Any help is appreciated.

  2. chimeric's Avatar
    69 Posts
    Global Posts
    71 Global Posts
    It looks like you are not using Mojo attributes. In Mojo, when you set up a textfield, you can designate an output attribute. This way you can get textfield input in this way: this.textField1.value) + pasrseInt(this.textField2.value);

Posting Permissions