Skip to content
Advertisement

Tag: hidden-field

How to filed form fields based upon user selection in php?

I’ve build a form but I’m kind of stuck at this thing where I have a yes or no field, and upon selecting yes some of the fields should appear otherwise those should be hidden if the user selects no. I’m not sure how to do it. Here’s the code: Answer New here and also learning. Hope I’m following conventions

Advertisement