I am trying to require a basic validation rule to check an email address.
My plan was to use indexOf to test for the @ symbol.
I also wanted to check there was somewhere after the @ symbol an (.)
Does anyone know if I could use the indexOf method to test for the . after the @?