On the create button popup, how do you access input values to load a readonly field?

On the create button popup, how do you access input values to load a readonly field?

rooeydanielrooeydaniel Posts: 1Questions: 1Answers: 0

I have a set of fields that take input from a user, when creating a new record. Every time the user puts in a value, I want to add all the values in that set of fields and show them the aggregate. On that popup form, I'm not sure how to pull the input values and put them in another field that I have marked as readonly.

Answers

  • allanallan Posts: 61,810Questions: 1Answers: 10,121 Site admin

    The val() method is the key one here. Use that to both get and set values for fields. You could also use field().get() and field().set() if you want to be more explicit.

    Allan

This discussion has been closed.