I have a JSON object like this:
var values = {
"email": " ' + fn + ' ", // This field is required to identify existing customers.
"first_name": "email",
"last_name": "email",
"address": "email",
"city": "email",
"state": "email",
"zip": "email",
"dob": "email" // This field must match the following format: YYYYMMDD. This field is also required
};
I am trying to insert:
var fn = 'Tom';
But the variable is not appearing. How can i go about this?