I am attempting to create a webform that will be passing multiple values from check boxes. This form after submitted is then emailed to the chosen recipient. My issue is that I cannot pass more than one value for the "Module". I believe my web form is okay, but passing the values as multiple is where I am hung up. I know that it requires an array, but not sure of the syntax. Please advise if you have the time
Web Form Code:
<td>Access to which modules ?:</td>
<td><INPUT TYPE="CHECKBOX" NAME="Module[]" VALUE="G/L">G/L
<INPUT TYPE="CHECKBOX" NAME="Module[]" VALUE="A/P">A/P
<INPUT TYPE="CHECKBOX" NAME="Module[]" VALUE="A/R">A/R
<INPUT TYPE="CHECKBOX" NAME="Module[]" VALUE="F/A">F/A
<INPUT TYPE="CHECKBOX" NAME="Module[]" VALUE="INV">INV
<INPUT TYPE="CHECKBOX" NAME="Module[]" VALUE="P/O">P/O
<INPUT TYPE="CHECKBOX" NAME="Module[]" VALUE="SAL P/R">SAL P/R
<INPUT TYPE="CHECKBOX" NAME="Module[]" VALUE="HRL P/R">HRL P/R
PHP Code that is processing it
==> SECTION 2: JDEdwards User Profile
Users Class:$HTTP_POST_VARS[Required_JDEdwards]
Access to Which Modules: $HTTP_POST_VARS[MODULES[]]