<html>
<head>
<title>Document</title>
</head>
<body>
<form target="_blank" method="POST" action="../index.php" name="form">
<input type="radio" name="paymentType" value="PC">
<input type="radio" name="paymentType" value="AC">
<input type="radio" name="paymentType" value="MC">
</form>
<script type="text/javascript">
document.form.onchange = () => {
switch ((new FormData(document.form)).get('paymentType')){
case 'PC':
document.form.action = '/page/sds/3';
break;
case 'AC':
document.form.action = '/page/sds/4';
break;
case 'MC':
document.form.action = '/page/sds/5';
break;
}
}
</script>
</body>
</html>