Areef Syed
Areef Syed

Reputation: 35

How can I create a form with multiple radiobuttons/checkboxes and redirect to another page on submit?

I want to create a form with multiple radiobuttons/checkboxes and direct the user to a certain page according to the selection when the user has clicked on submit.

Example of what i'm trying to achieve

Upvotes: 0

Views: 47

Answers (1)

mayk93
mayk93

Reputation: 1537

You do not select a button, you tick a checkbox. If that checkbox happens to look like a button, that is already css business, not js.

You can take a look here at how this could be done.

Upvotes: 1

Related Questions