What I'm trying to do is this: I have an application form in which we check the age of an applicant. Easy enough. However, if the applicant isn't old enough, I would like to store that information because he/she is likely to just enter a different date of birth in order to submit the form. Therefor, I would like to have the originally entered date of birth in the email. Is this possible?
So far I've tried this with a hidden field and using the tokens (also with $_POST en copying values to the $_SESSION) and the patch here: http://drupal.org/node/297989 (which in itself works great). However, I can't get anything to work: the post values are in an array that I cannot access and the default value seems to override anything I try to put in with php from $submitted. Am I approaching this from the wrong angle or is this just not possible? Thanks!
Comments
Comment #1
Whiskey commentedI solved this with a workaround: copy the information to $_SESSION during validation and retrieve it later with post processing. Then you can put it in the hidden field and it will show up in the email.
The issue is discussed here as well http://drupal.org/node/288199, therefor closing this one.