You are saving email alone properly but other fields you are not saving properly. Pls check up properly… move the blocks into else block of each if condition.
4 conditions are there but for email alone you are using else, try to move the remaining thing just like what you designed for email.
If the name box is empty
Then save global name variable
Else save text box value.
I am not sure spinner selection is empty will be true… if so you must use first option as select one and try to match this. If the spinner selection is equal to select one , save global variable value else save selection value