memberIdExists to check wether the member in my database before user submit the form. However, no matter the value of the
memberIdExists is true or false it will always execute the if section. As the console shows below the I print the value before execute the code, the value is false but it still execute in if section.
Please help me! I am struggle with it for a long time.