Home › Forums › General Issues › Frontend form – post via ajax? › Reply To: Frontend form – post via ajax?
@rsrc1147 thanks a lot for the code example, it helped me greatly.
i only have two additional questions:
1) this code works perfectly with text inputs, selects etc, but it doesn’t seem to be able to save radio buttons and checkboxes (so basically elements which use hidden elements), is there a way around it?
2) i am not sure if i understand the validation part correctly. in the code example, required inputs are checked whether they’ve been filled, but for instance email fields are not being validated for their type (so user can just fill anything).
thanks in advance for any kind of information about these issues.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.