Skip to main content
Kinetic Community

Retrieve an Answer

Say you have a question on the page named 'First Name', and you need to retrieve the answer of this question to use within a custom javascript event.

Usage

Describe how to implement and use the solution.

var fname = K('field[First Name]').value();

Now the value for this question is held in the variable 'fname', and can be used in the javascript code.