I need to pass firstname, lastname and email to a php file. I used the internal form field name but this did not work. This is the code;
// Passed Values
$firstname = “firstname”; // first name entered in form
$lastname = “lastname”; // last name entered in form
$email = “email”; // email
Is there a specific way this needs to be done to work because this doesn’t pull in anything. Thanks!
To be honest, I’m not particularly fluent in PHP. I’d recommend checking out stack overflow for some tips/recommendations from folks with more PHP experience. If you have any HubSpot-specific questions, I’d be more than happy to continue working with you.