Hello
I have two hidden field one field display name and second is email id.
1- Validate both field (if email id exist then alert message display message like this
Email ID : main page )
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
ramya bharathRank #3,780 · 391 reputationPosted Apr 17, 2015, 4:24 PM EDT
Var data=document.getElementById ( "emailid");
if (data!=null && data !== "") { //some code }
else
{
alert ("your message");
}
}
Modify it to your need
Davin MartynRank #285 · 8.8K reputationPosted Apr 19, 2015, 8:28 PM EDT
ramya bharathRank #3,780 · 391 reputationPosted Apr 20, 2015, 4:52 AM EDT