Mandatory field – only if another field equals certain value

[ad_1]

Basically have a scenario where we have a survey that asks a question that has 5 responses plus an “OTHER” option. When the OTHER option is selected it displays an additional field to allow the user to enter their “other” reasons.

What I would like is for the “other reasons” field to only be mandatory if the first field is set to Other

Can this be done?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer