hi
i’m having problems with my checkbox in modx it seems it is not working and would like to ask for your help.
i made a form and the user should select 2 dates or 1 date. this is the sample:
The problem is, if I select the first date and the second date - it works
The first date and the third date - it works
However, if I just select the 2nd date - it doesn’t work
The 3rd date - doesn’t work as well
And the 2nd and the 3rd date - doesn’t work as well.
Can you please tell me where did i go wrong from here?
Thanks
Btw, the forms are composed of 4 different ones
<div style="background-color:#CCDFED">
<form method="post" action="[~[*id*]~]">
<input type="hidden" name="formid" value="registrationForm" />
<table>
<tr>
<td><label for="dates" style="margin:0.5em">Dates:</label>
<td>
<input type="checkbox" name="date[]" value="Mo 04 Oct" eform="Date::1"/> Mo 04 Oct <br/>
<input type="checkbox" name="date[]" value="Wed 13 Oct " /> Wed 13 Oct <br/>
<input type="checkbox" name="date[]" value="Fr 22 Oct " /> Fr 22 Oct <br/>
</td>
</tr>
</table>
</form>
</div>
And this is the code of mail: Is this correct?
<h3>The Form</h3>
<p>This is a confirmation [+email+], from the website: </p>
<table>
<tr valign="top"><td>Date</td><td>[+date[]+]</td></tr>
<tr valign="top"><td>Date</td><td>[+date[]+]</td></tr>
<tr valign="top"><td>Date</td><td>[+date[]+]</td></tr>
</table>