Associate three fields?

User 39859 Photo


Registered User
62 posts

I have a need on a form to require at least one of either a home phone, business phone, or cell phone number. I don't want the user leaving the form unless at least one is supplied.

So, is there any way that I can test three fields and only generate an error message if all three are left blank?

Thank you.
User 187934 Photo


Senior Advisor
20,271 posts

Another way. Have a drop down that's required with phone number type selection and apply conditionals to show the input for the proper type of phone number. Have all the phone numbers required as the required will only apply to the one that's showing.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 39859 Photo


Registered User
62 posts

Thank you. That seems as if it would require all three, but, we are only going to require one. Additionally, my customer would like to have all three numbers, but, the user can't submit the form without entering at least one. So, any other thoughts?
User 187934 Photo


Senior Advisor
20,271 posts

The requirement of the phone number only applies to the one showing. Use the conditionals to show the proper phone number input after the user selects it from the drop down.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2147626 Photo


Ambassador
2,958 posts

That only shows 1 phone field. If I understand you want as many as 3. Try this ...

http://gunsmoke.me/test4
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
User 187934 Photo


Senior Advisor
20,271 posts

That would be fine.:cool:
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 39859 Photo


Registered User
62 posts

That is exactly what I want! So, how is this done?
User 2147626 Photo


Ambassador
2,958 posts

Will send you a link to a custom video tutorial soon. Just putting the finishing touches on it :cool:
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com
User 39859 Photo


Registered User
62 posts

thank you
User 2147626 Photo


Ambassador
2,958 posts

Okay, hopefully this will make sense. Let me know if you have any problems. You can download the video here... http://gunsmoke.me/videotutorials/WFM_Multi_Phonenumbers.wmv
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.