Submit Failure Message when Press enter
I have a form that will get data from zoho crm.
My problem is when press enter, it will show the error message, All i need is to disappear that message only,
if (input.Email != "")
{
vSearch = "(Email|=|" + input.Email + ")";
crmRes = zoho.crm.searchRecords("
Contacts", vSearch, 1, 1);
if (crmRes.size() > 0)
{
fa = crmRes.get(0);
input.FranchiseApplicantsID = fa.get("CONTACTID");
input.First_Name = fa.get("First Name");
input.Last_Name = fa.get("Last Name");
input.Phone = fa.get("Phone");
input.Street = fa.get("Mailing Street");
input.City = fa.get("Mailing City");
show First_Name;
show Last_Name;
show Phone;
show Street;
show City;
show Choice_list_of_preferred_
locations;
show plainMsg;
}
else
{
}
}
else
{
alert("Please enter a Email address!");
hide First_Name;
hide Last_Name;
hide Phone;
hide Street;
hide City;
hide Choice_list_of_preferred_
locations;
hide plainMsg;
}