0

In a form, I have a field called mode of transport: for that I used three radio buttons like own , private and public.
If he clicks public radio button, it should show two radio buttons like pickup and drop. Otherwise it should not show it(pickup and drop). I don`t know how to do? can anyone tell it with simple example

Edited by diafol: wrong forum

2
Contributors
1
Reply
8
Views
2 Years
Discussion Span
Last Post by diafol
0

You can attach a click event to the radiobuttons to show/hide the pickup/drop radios. This will be done in javascript, so nothing to do with PHP, even if you create the form via PHP. Moving to JS forum...

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.