• Formit and Radio Buttons#

  • jgr Reply #1, 7 months, 2 weeks ago

    Reply
    Hi - I am using formit to process a form containing radio buttons. The problem is that when I select "Rent" my email never arrives and if I select "Buy" my email arrives a few seconds later.

    My code is below, can anyone help?

    <input type="hidden" name="rentbuy:required" value="" />
    
    <label for="rentbuy">
    Do you want to rent or buy?
    <span class="error">[[+fi.error.rentbuy]]</span>
    </label>
    
    <input type="radio" value="Rent" name="rentbuy:required" [[!+fi.rentbuy:is=`Rent`:then=`checked="checked"`]] id="Rent" />Rent
    <input type="radio" value="Buy" name="rentbuy:required" [[!+fi.rentbuy:is=`Buy`:then=`checked="checked"`]] id="Buy" />Buy


  • jgr Reply #2, 7 months, 2 weeks ago

    Reply
    Sorry - forgot to say I'm using Modx Revolution 2.13 and Formit 2.02.


  • jgr Reply #3, 7 months, 2 weeks ago

    Reply
    Problem solved - it was my mail filter that was blocking some of the form submissions! No problem with the code after all.