We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29266
    • 12 Posts
    Hi. I ve tested example form from FormIt documentation. In template chunk placed [[+colors]]
    When recieving email, there’s still [[+colors]]
    Doing something wrong?

     <label>
            Colors:[[+fi.error.colors]]
            <input type="hidden" name="colors[]" value="" />
        </label>
        <ul>
          <li>
            <label><input type="checkbox" name="colors[]" value="red" [[!+fi.colors:FormItIsChecked=`red`]] /> Red</label>
          </li>
          <li>
            <label><input type="checkbox" name="colors[]" value="blue" [[!+fi.colors:FormItIsChecked=`blue`]] /> Blue</label>
          </li>
          <li>
            <label><input type="checkbox" name="colors[]" value="green" [[!+fi.colors:FormItIsChecked=`green`]] /> Green</label>
          </li>
        </ul>
    
      • 1778
      • 659 Posts
      You should read the forum...

      Have a look at this, it can be of help to you (at least the part with the email)

      http://modxcms.com/forums/index.php/topic,49891.msg292933.html#msg292933

      Cheers
        • 29266
        • 12 Posts
        Thanks for reply. But what about documentation example. Is there a way provided to make a list, from array() of checkboxes im sending in template chunk?
        Sorry for my english, it’s not my native.

        Got it. Ltl bit too rushy. Thanks