Bouton Radio - Liens?
Carl 2006
-
Carl 2006 -
Carl 2006 -
Bonsoir à tous;
J'ai créer une page qui contient 4 boutons radio (meme nom, 4 value différentes) + un bouton " next" en bas.
Ces 4 valeurs correspondent en réalité à 4 abonnements différents en ligne.
A ces 4 abonnements correspondent 4 prix et donc 4 formulaires différent.
J'aimerai que lorsque l'internaute clique sur un bouton radio, puis sur next, il soit renvoyé vers le bon formulaire.
Je n'ai aucune connaissance en programmation... si je pouvais juste avoir un modèle...
Merci à tous par avance!
Bonne soirée.
Carl
J'ai créer une page qui contient 4 boutons radio (meme nom, 4 value différentes) + un bouton " next" en bas.
Ces 4 valeurs correspondent en réalité à 4 abonnements différents en ligne.
A ces 4 abonnements correspondent 4 prix et donc 4 formulaires différent.
J'aimerai que lorsque l'internaute clique sur un bouton radio, puis sur next, il soit renvoyé vers le bon formulaire.
Je n'ai aucune connaissance en programmation... si je pouvais juste avoir un modèle...
Merci à tous par avance!
Bonne soirée.
Carl
A voir également:
- Bouton Radio - Liens?
- Radio française - Télécharger - Médias et Actualité
- Diagnostic bouton photo - Accueil - Outils
- Vérificateur de liens - Guide
- Bouton on/off comment savoir - Forum Word
- Bouton shift pc - Forum Jeux vidéo
1 réponse
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">
function go(form)
{
var a=document.forms['abon'].choix.length;
for(var i=0;i<a;i++)
{
if(document.forms['abon'].choix[i].checked)
{
document.location=document.forms['abon'].choix[i].value;
}
}
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>abonnement</title>
</head>
<body>
<center>
<font color="#009933" size="+3"><u>
Abonnement-client</u>
</font>
<form name="abon" action="#" method="get">
<input name="choix" type="radio" value="form1.htm" />Abonnement 1<br />
<input name="choix" type="radio" value="form2.htm" />Abonnement 2</br>
<input name="choix" type="radio" value="form3.htm" />Abonnement 3<br />
<input type="button" value="NEXT" onclick="go()"/>
</form>
</center>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">
function go(form)
{
var a=document.forms['abon'].choix.length;
for(var i=0;i<a;i++)
{
if(document.forms['abon'].choix[i].checked)
{
document.location=document.forms['abon'].choix[i].value;
}
}
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>abonnement</title>
</head>
<body>
<center>
<font color="#009933" size="+3"><u>
Abonnement-client</u>
</font>
<form name="abon" action="#" method="get">
<input name="choix" type="radio" value="form1.htm" />Abonnement 1<br />
<input name="choix" type="radio" value="form2.htm" />Abonnement 2</br>
<input name="choix" type="radio" value="form3.htm" />Abonnement 3<br />
<input type="button" value="NEXT" onclick="go()"/>
</form>
</center>
</body>
</html>
Carl 2006