Submit button for radio button submits to 2 database columns

Hi!

It seems like you never actually check if the user is logged in and once you try to getEmail you don’t get anything back and so the variable ‘userEmail’ is undefined since it was assigned with an empty value.

Please look into these guides and references:
How to Build Your Own Members Area Using Code
onLogin( )

Hope it helps!

Doron. :slight_smile: