Hello Team, While I have my form set up and working great, I would like to utilize a single process.php file for several different pages, each of which would require a different recipient email address.
I’ve tried adding global php variables which didn’t get me very far, and I’ve tried passing the email addresses as a hidden field in the form (with form element configuration set up in process.php) but still no luck with being able to use that field for recipient email address.
Is this possible? Or should I abandon hope and end up with a separate process.php for each instance with the recipient email hard coded in?
Hey Ally, Thanks for your help. While a switch wouldn’t really work in my scenario, that example did lead me down the right path, which was that all I needed to do was pass the hidden value and then grab it from $_POST in process.php. I had been totally overthinking it, but duh, and now everything works as I wanted!
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Still having trouble? Head over to the forums.Have you tried looking in the help pages?