other than a syntax error with the parentheses corrected by gr8gonzo ,I see no reason why your code will not work.
the OR || operator means the if will return true if either of the two conditions is met.(At least one of them)
Dave Baldwin
You are submitting the forms to the same action page?
the OR || operator means the if will return true if either of the two conditions is met.(At least one of them)