I've been searching for the email address validation method, and even tried extensions.
One of it was taifun tools of EmailAddressIsValid block but resulted failed.
Below are the blocks I was trying to implement, but no matter what email address I tried to input the error message will still come out.
Is it I used it wrongly? Please help
My method returns true if the address is valid... and in this case you display that message... which means, you have to add a not block from the logic drawer..
If not email address is valid
then display the error message
I have added the not block but seems not working as well.
I just input any text without the "@email.com" but no error blocking, don't know why.
Still will register the account, and of course in Firebase will appear "not found" as no valid email address.
Please help
As shown below, i just enter "hoo" instead of full email address and it returned True when i Do It for the block.
Please advise if I did it wrongly.
For the password entering, i will use the password text box component.
Thank you.
You can't validate email address offline or with just one block. Read Taifun's last post again. The method only verifies if provided text matches email pattern or not. It does not mean email is valid. (exists or not)
You will have to use any api or email verification through link.
i noted and understand on your explanation, and actually what i want to do is to validate the email address format only, whether the user enter the correct email address pattern or not.
It's not about to verify the existence of the email account.
hope this answer what i want to do here.