var
firstName = $("#P81_FIRST_NAME").val().length == 0 ? "Not provided" : $("#P81_FIRST_NAME").val(),
lastName = $("#P81_LAST_NAME").val().length == 0 ? "Not provided" : $("#P81_LAST_NAME").val(),
dateOfBirth = $("#P81_DATE_OF_BIRTH").val().length == 0 ? "Not provided" : $("#P81_DATE_OF_BIRTH").val();
return {
msg: "Thank you for testing me!",
list: [
"First name = "+firstName,
"Last name = "+lastName,
"Date of birth = "+dateOfBirth
]
};