{"action":"created","issue":{"url":"https://api.github.com/repos/websharks/s2member/issues/681","repository_url":"https://api.github.com/repos/websharks/s2member","labels_url":"https://api.github.com/repos/websharks/s2member/issues/681/labels{/name}","comments_url":"https://api.github.com/repos/websharks/s2member/issues/681/comments","events_url":"https://api.github.com/repos/websharks/s2member/issues/681/events","html_url":"https://github.com/websharks/s2member/issues/681","id":100350927,"number":681,"title":"Why Am I Getting a \"Missing First Name\" Error on My Custom Template Registration Form?","user":{"login":"patdumond","id":9320495,"avatar_url":"https://avatars.githubusercontent.com/u/9320495?v=3","gravatar_id":"","url":"https://api.github.com/users/patdumond","html_url":"https://github.com/patdumond","followers_url":"https://api.github.com/users/patdumond/followers","following_url":"https://api.github.com/users/patdumond/following{/other_user}","gists_url":"https://api.github.com/users/patdumond/gists{/gist_id}","starred_url":"https://api.github.com/users/patdumond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patdumond/subscriptions","organizations_url":"https://api.github.com/users/patdumond/orgs","repos_url":"https://api.github.com/users/patdumond/repos","events_url":"https://api.github.com/users/patdumond/events{/privacy}","received_events_url":"https://api.github.com/users/patdumond/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-11T16:20:57Z","updated_at":"2016-03-14T15:39:35Z","closed_at":"2015-08-12T13:37:10Z","body":"# Why Am I Getting a \"Missing First Name\" Error on My Custom Template Registration Form?\r\n\r\n##### KB Article Creation Checklist\r\n\r\n- [x] Write initial draft for this KB Article; label this issue draft and either questions or tutorials\r\n- [x] Add required YAML configuration\r\n- [ ] Add Tags for this KB Article to the YAML config (see YAML Keys (Explained))\r\n- [ ] Edit and finalize draft for publishing (remove draft label, add draft-finalized label)\r\n- [ ] Create Markdown file for this Article (remove draft-finalized label, add pending label)\r\n- [ ] Publish KB Article (remove pending label, add published label; leave this step for the Project Lead)\r\n\r\n```\r\ntitle: Why Am I Getting a \"Missing First Name\" Error on My Custom Template Registration Form?\r\ncategories: Questions\r\ntags: s2member, pro-forms\r\nauthor: patdumond\r\ngithub-issue: https://github.com/websharks/s2member/issues/681\r\n```\r\n\r\nReference [Zendesk Ticket #7276 ](https://websharks.zendesk.com/agent/tickets/7276)\r\nReference [Zendesk Ticket #7753 ](https://websharks.zendesk.com/agent/tickets/7753)\r\n\r\nWhen using a custom template for a Pro-Form, you need to be sure that you are \"using the right tool for the job\". Using a form meant for a free registration for a paid subscription or vice-versa will lead to an unanticipated error in the program flow. One of the symptoms is a misleading error message: \"Missing First Name\". You'll be scratching your head wondering how the first name could be missing when you just typed it in and hit \"Submit\". \r\n\r\n## Free Registration Form Template(s)\r\nPro-Form templates for free registration will have the following naming convention: `paymentgateway-registration-form.php` For example, `paypal-registration-form.php`. \r\n\r\n## Paid Registration Form Template(s)\r\nPro-Form templates for paid registration will have the following naming convention: `paymentgateway-checkout-form.php` or `paymentgateway-sp-checkout-form.php`. For example, `paypal-checkout-form.php`.\r\n\r\n![template-files-folderresized](https://cloud.githubusercontent.com/assets/9320495/13725273/0cdfb30c-e86b-11e5-8b6c-587cb2b25111.jpg)\r\n\r\n## Oops! I Used a Paid Registration Shortcode with a Free Registration Template\r\nI created a test form on my website using a paid registration shortcode with a free registration template.\r\n\r\nThe shortcode: \r\n\r\n![missing-first-name-error](https://cloud.githubusercontent.com/assets/9320495/13725278/17940e92-e86b-11e5-9892-41f051ec5b56.png)\r\n\r\nThe form produced by this shortcode looks fine:\r\n\r\n![free-registration-form-with-paid-shortcoderesized](https://cloud.githubusercontent.com/assets/9320495/13725283/569d4ac2-e86b-11e5-9d12-64b32e8f3082.jpg)\r\n\r\n## The Infamous *Missing First Name* Error Message\r\nWhen I entered some test data and hit the submit button, however, I get this error message:\r\n\r\n![missing-first-name-errorresized](https://cloud.githubusercontent.com/assets/9320495/13725289/6a1d8ac6-e86b-11e5-8305-8a49dcbbacf3.jpg)\r\n\r\n## Recap: Use the Right Tool for the Job\r\n\r\nBottom line, when customizing s2Member you must always choose your tools carefully. Write down what it is you hope to accomplish: `Custom registration form for level 1 members paying by PayPal. Form is customized with a message saying \"Joining us is a great decision!\"` Make sure you choose the right template file for the task at hand. You'll avoid a lot of head-scratching!\r\n\r\n## More on Pro-Forms\r\n- [Can I customize Pro-Forms](http://s2member.com/kb-article/can-i-customize-pro-forms/)\r\n- [How can I style Pro Forms w/ custom CSS?](http://s2member.com/kb-article/how-can-i-style-pro-forms-w-custom-css/)\r\n- [s2Member Pro-Forms](http://s2member.com/kb-article/s2member-pro-forms/)\r\n- [How can I change the order of Pro-Form fields?](http://s2member.com/kb-article/how-can-i-change-the-order-of-the-pro-form-fields/)\r\n- [Why does \"Card Start Date or Issue Number\" always show on my Pro-Form?](http://s2member.com/kb-article/why-does-card-start-date-or-issue-number-always-show-on-my-pro-form/)\r\n- [Dynamically Generating a Pro-Form Using MOP Vars](http://s2member.com/kb-article/dynamically-generating-a-pro-form-using-mop-vars/)\r\n- [How do I get rid of the \"Create Profile\" section on my Pro Form?](http://s2member.com/kb-article/how-do-i-get-rid-of-the-create-profile-section-on-my-pro-form/)\r\n- [Why am I seeing the Pro-Form Billing Address section when I'm only accepting PayPal?](http://s2member.com/kb-article/why-am-i-seeing-the-pro-form-billing-address-section-when-im-only-accepting-paypal/)\r\n- [ My Pro Form looks nothing like examples I've seen, why?](http://s2member.com/kb-article/my-pro-form-looks-nothing-like-examples-ive-seen-why/)\r\n"},"comment":{"url":"https://api.github.com/repos/websharks/s2member/issues/comments/196372458","html_url":"https://github.com/websharks/s2member/issues/681#issuecomment-196372458","issue_url":"https://api.github.com/repos/websharks/s2member/issues/681","id":196372458,"user":{"login":"raamdev","id":53005,"avatar_url":"https://avatars.githubusercontent.com/u/53005?v=3","gravatar_id":"","url":"https://api.github.com/users/raamdev","html_url":"https://github.com/raamdev","followers_url":"https://api.github.com/users/raamdev/followers","following_url":"https://api.github.com/users/raamdev/following{/other_user}","gists_url":"https://api.github.com/users/raamdev/gists{/gist_id}","starred_url":"https://api.github.com/users/raamdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raamdev/subscriptions","organizations_url":"https://api.github.com/users/raamdev/orgs","repos_url":"https://api.github.com/users/raamdev/repos","events_url":"https://api.github.com/users/raamdev/events{/privacy}","received_events_url":"https://api.github.com/users/raamdev/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T15:39:35Z","updated_at":"2016-03-14T15:39:35Z","body":"@patdumond I'm confused. This GitHub issue is closed and you have a comment above that says it was moved to https://github.com/websharks/s2member-kb/issues/255. \r\n\r\nAm I supposed to review this GitHub issue or https://github.com/websharks/s2member-kb/issues/255?"}}