Uploaded image for project: 'Forms'
  1. Forms
  2. FORMS-73

Radio input value should be mandatory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.0
    • None
    • Front submission
    • None

      Use this form

      <form type="cms" label="Nouveau%20formulaire%201" id="form-ametys-07035897732549953" layout="table-2col">
      <table style="width: 100%;" class="invisible" marker="marker">
      <tbody>
      <tr>
      <td style="vertical-align: middle;" colspan="2">
      <p style="text-align: center;"> </p>
      <fieldset><legend>ça va ?</legend> 
      <table style="width: 100%;" class="invisible" marker="marker">
      <tbody>
      <tr>
      <td style="vertical-align: top;">
      <p style="text-align: right;"><label for="ametys-gen-2">Oui :</label></p>
      </td>
      <td>
      <p><input type="radio" name="radio1" id="ametys-gen-2" mandatory="false" value="" checked="true"/></p>
      </td>
      </tr>
      <tr>
      <td style="vertical-align: top;">
      <p style="text-align: right;"><label for="ametys-gen-3">Non :</label></p>
      </td>
      <td>
      <p><input type="radio" name="radio1" id="ametys-gen-3" mandatory="false" value="" checked="false"/></p>
      </td>
      </tr>
      <tr>
      <td style="vertical-align: middle;" colspan="2">
      <p style="text-align: center;"><input type="submit" name="submit1" id="ametys-gen-4" width="100" value="Valider"/></p>
      </td>
      </tr>
      </tbody>
      </table>
      </fieldset></td>
      </tr>
      </tbody>
      </table>
      </form>
      

      When you submit it and export you've got a strange stuff
      The column name is the name of one of the radio and no value is set

            Unassigned Unassigned
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: