I have a multi-page form questionnaire that has a number of checkboxes for users to select optional product features. I've looked at the $_POST data that is submitted and I found that only checked checkboxes show up as input fields in $_POST and therefore are stored in the entry. What I'm wondering is there anyway that I can access the $_POST data before a lead or entry is created and run a check for the checkbox inputs and if they don't exist add them with a default value to the $_POST data?
The reason I want to do this is so that the entry contains a Yes or No for the checkbox fields, which I can then use in the notification email.
Thanks,
Tim