Changing ReadOnly field value dynamically

Changing ReadOnly field value dynamically

BernardoLimaBernardoLima Posts: 20Questions: 0Answers: 0
edited March 2013 in Editor
How it's possible to make a ReadOnly field value be the result of other two fields?

A- Field #1
B - Field #2
C - Field#3 -< ReadOnly

C value = A multiplied by B


  • allanallan Posts: 57,686Questions: 1Answers: 9,195 Site admin
    Based on user input in A and B? If you want it live (i.e. while they type), you'd use the `node` API method ( ) to attach an event listener (keyup probably) to field #1 and #2's input elements, and then the `set` method ( ) to set the resulting value from the calculation.

This discussion has been closed.