Nested conditions not working

I am trying to do a logic where clicking a button checks if some text variables has the placeholder value, if they still has they should appear red on the borders and show an error message. It does work on the first condition, but if i want to nest another validation like on the second input it doesn’t work, it seems like it don’t read it and just executes the first “if else”, as they are different components i can’t use “or” since they need to check two different values and apply one variable if the condition a or b is true.

If the first condition is true, it bypasses completely the second condition and executes the first “else”, If i left on blank the first else, only then it reads the second condition… is there any better way to work with it? as i need for example on a form to check multiple conditions at once and not one by one.