Here's A piece of my code:
<form action="dimensi ons.php" method="POST">
<br><input type="radio" style="backgrou nd : #84c7e8" name="categorie "
value="Customer " checked> Customer</br>
<br><input type="radio" style="backgrou nd : #84c7e8" name="categorie "
value="Employee "> Project Manager</br>
<br><input type="radio" style="backgrou nd : #84c7e8" name="categorie "
value="Vendor" > Vendor</br>
<br><input type="submit" name="submitkno p" value="Change"> </br>
What I want here is that when I click on the submit button, the 'form
action' target should be changed to an other webpage depending on the
radio button that has been selected. So, if I selected 'Customer',
another page should be opened than when I select 'Vendor'. I spent a
whole day on it (also trying JS etc.) and can't get it to work.
Anyone to help me?
<form action="dimensi ons.php" method="POST">
<br><input type="radio" style="backgrou nd : #84c7e8" name="categorie "
value="Customer " checked> Customer</br>
<br><input type="radio" style="backgrou nd : #84c7e8" name="categorie "
value="Employee "> Project Manager</br>
<br><input type="radio" style="backgrou nd : #84c7e8" name="categorie "
value="Vendor" > Vendor</br>
<br><input type="submit" name="submitkno p" value="Change"> </br>
What I want here is that when I click on the submit button, the 'form
action' target should be changed to an other webpage depending on the
radio button that has been selected. So, if I selected 'Customer',
another page should be opened than when I select 'Vendor'. I spent a
whole day on it (also trying JS etc.) and can't get it to work.
Anyone to help me?
Comment