Hey!
Im trying to use an update and continue button on a form without any javascript.
so first just like a shopping cart where user update their cart so they can see the totals and then continue.
the problem is that the update and continue button are both type=submit and are on the same form which goto the same action=
i want it without any javascript, heres the example below.
so below, i want customer to be able to select quatities and then be able to update cart to calculate totals just by php then after they see the total they can click continue.
<form action="./signup.php?plan &payments" method="post">
<select name="qauntity1 ">
<option value='4'>4</option>
<option value='5'>5</option>
<option value='6'>6</option>
<option value='7'>7</option>
</select>
<input type="text" name="amount1" readonly><br><b r>
<select name="qauntity1 ">
<option value='4'>4</option>
<option value='5'>5</option>
<option value='6'>6</option>
<option value='7'>7</option>
</select>
<input type="text" name="amount2" readonly><br>
Total: $<input type="text" name="total" id="total" readonly><br>
<input type="submit" name="submit" value="Update"> <input type="submit" name="submit" value="Continue ">
</form>
Im trying to use an update and continue button on a form without any javascript.
so first just like a shopping cart where user update their cart so they can see the totals and then continue.
the problem is that the update and continue button are both type=submit and are on the same form which goto the same action=
i want it without any javascript, heres the example below.
so below, i want customer to be able to select quatities and then be able to update cart to calculate totals just by php then after they see the total they can click continue.
<form action="./signup.php?plan &payments" method="post">
<select name="qauntity1 ">
<option value='4'>4</option>
<option value='5'>5</option>
<option value='6'>6</option>
<option value='7'>7</option>
</select>
<input type="text" name="amount1" readonly><br><b r>
<select name="qauntity1 ">
<option value='4'>4</option>
<option value='5'>5</option>
<option value='6'>6</option>
<option value='7'>7</option>
</select>
<input type="text" name="amount2" readonly><br>
Total: $<input type="text" name="total" id="total" readonly><br>
<input type="submit" name="submit" value="Update"> <input type="submit" name="submit" value="Continue ">
</form>
Comment