I have been struggling with this for quite some time.
I have a one page checkout (IWD), and on it I have 2 custom fields that I want the user to fill in. The fields already show, and validation happens. The one page checkout is a form that works on ajax (I'm not sure if it's the theme or the actual one page checkout, I was handed this project when it was almost finished).
Guest checkout is disabled, so in order to check out, the user has to fill in the billing address (which contain the two fields) and that then registers the user.
When a user submits this form, with these two fields filled in, I get an alert back that says the two fields are required. Now my thinking is as follows: Since it passes validation on the front end and fails on the back end, the fields aren't being submitted to user registration. These fields are required in user registration. I created the fields with Custom Registration Fields and set it to required in the admin section.
How would I go about getting these fields to post to the user registration? I've tried setting the user session and including these fields. I've also read through this answer.
Any assistance will be appreciated.