one of two <input> fields must be filled out

stromberg76 09 Feb, 2010
Hello,

i have built an own form and its working perfectly. I have just one problem. I have 2 input fields for name and nickname. And just ONE MUST be filled out. But it doesnt matter wich one. If nothing is filled out there should be an error message. How can i do that?

Thanks in advance for your help!!!
stromberg76 09 Feb, 2010
Problem solved with two php-lines.
This topic is locked and no more replies can be posted.