Custom form and custom form fields
-
Hi,
I’ve created a custom form and am trying to add subscribers through it. It works when I don’t try to post custom form field data. How do I make it work with custom form fields? In the database it has cf_1, cf_2 etc and this is what I’ve tried amending based on: https://support.mailpoet.com/knowledgebase/plugin-form-integrate/
//in this array firstname and lastname are optional $user_data = array( 'email' => $email, 'firstname' => $firstname, 'lastname' => $lastname, 'cf_1' => $phone, 'cf_2' => $company_name, 'cf_3' => $dob, );
Any ideas? Cheers!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom form and custom form fields’ is closed to new replies.