i have three names:
who1 who2 who3
two of them are select inputs and one is a text input.
i want to error out if more than one of these fields are selected/filled out.. is there an easier way than doing a bunch of ifs and &&'s ?
Use "OR" ||
Are you trying for minimalist subject lines? Consider using ones that actually mean something.
As for your question, using logical operators is pretty simple, but if you use an array for the form fields, you can count the number of elements.