Hi all,
I have the following code:
if ((firstName !== “”)&&(lastName !== “”)&&(email !== “”)) {
$w(‘#firstNameError’).hide(“float”, floatOptions);
$w(‘#lastNameError’).hide(“float”, floatOptions);
$w(‘#emailError’).hide(“float”, floatOptions);
$w('#dataset3').setFieldValues({
//Waitlist:
“firstName”: firstName,
“lastName”: lastName,
“email”: email
})
$w('#dataset3').save()
.then($w('#waitlist').hide("float", floatOptions));
}
only issue is that when I check the database there is no saved entry even though the code goes through fine and the $w(‘#waitlist’).hide(“float”, floatOptions) works perfectly. No errors.
Any idea why its not saving?