Forums

Multiple choices field

Foot 12 Nov, 2008
Hi,
How can I have a field with multiple choices? I want users to select more than one choice in the this part of the form. I want data to be sent to MySql and report to the user in an after submit redirect page. I know how to put simple data in the answering page in these brackets " { }". It works in the form but not in the Dbase and the answering page. You'll see in the code that french is my first langage... :wink:



<td height="100" colspan="3" valign="top"><p><span class="style19">Où avez-vous
        entendu parler de nous? </span></p>
        <p><span class="style25">Pour plus d'une réponse, appuyer sur CTRL à partir du deuxième choix. </span><br>
          <select name="info[]" size="4" multiple>
            <option>Aucun (préciser dans les commentaires ci-bas)</option>
            <option>D’un joueur de baseball existant (parrainage)</option>
            <option>Relance de mon entraineur de l’an passé</option>
            <option>Affiche à l’école</option>
            <option>Affiche dans un commerce</option>
            <option>Suite à une activité baseball dans un gymnase</option>
            <option>Suite à un camp de baseball</option>
            <option>Baseball En Action (Ensemble fourni dans les écoles impliquées</option>
            <option>Suite à la lecture d’un article dans le journal</option>
            <option>Par courriel</option>
            <option>En visitant ce site internet</option>
            <option>Suite à une publicité ou un article dans l’œil Régional</option>
            <option>D’un ami, d’un parent, d’un entraineur d’un autre sport, etc.</option>
            <option>De la journée d’inscription au Mail Montenach</option>
            <option>En regardant un match, ou une pratique de baseball</option>
            <option>Un communiqué paru dans le bulletin d’information paroissial</option>
            <option>Affiche électronique de la ville à l’entrée de Beloeil </option>
            <option>Autres (peut être ajouté aux commentaires ci-bas)</option>
          </select>
        </p></td>
Foot 12 Nov, 2008

Hi microserf,

did you turn off "Chronoforms handle generated arrays" in the DB connections tab ?

if its ON then set your connection to be "before email" and add this code to the onsubmit BEFORE email box:



You're the man!!!! 😀


Thanks

Foot
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger