Merged emailvalidation social

Hi Vishak,

I believe, you meant check the type of email and not the form right ?
 because form does not have type, but input element has.  Kindly clarify.

I need to do the below:
typeof document.forms["resendValidationMail"]["email"] !== 'undefined'


On Mon, Sep 1, 2014 at 4:29 PM, frodo14 <notifications@github.com> wrote:

> In public/js/form-validators.js:
>
> > @@ -153,4 +153,86 @@ function validateSignupForm() {
> >    }
> >  }
> >
> > +// Validate Email ID
> > +function validateResendEmailForm() {
> > +  var emailId   = document.forms["resendValidationMail"]["email"].value;
>
> check for existence
>
> if(typeof document.forms["resendValidationMail"] !== 'undefined') {
> var emailId = document.forms["resendValidationMail"]["email"].value;
> }
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/lord-of-the-rings/fellowship/pull/6/files#r16966022>.
>