hooks – Ultimate member plugin – Phone and email fields are optional but the user must fill in at least one
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Anybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
How can I create a function that let you show an error if none of the two specific fields ( both optional) are not filled. We want at least one to be filled.