Hello,
I look for a way to build a form (for estimates) with ACF Pro. I’d like to let the client choose what he wants: i was thinking to use flexible content with values like “Add Name”, “Add Email”, “Add subject” etc. I think i have to develop my own form plugin ? or hardcode in template the form system with sanitize, wp_mail etc ? Or maybe there is a better way ?
Thanks
Hi @proov,
Thanks for the post.
I am not sure I have fully understood the use case.
If you are looking to create a front end form for users to submit the estimates then you should make use of the af_form() function and then include the ( “Add Name”, “Add Email”, “Add subject” etc) custom fields to the form using the ‘fields’ argument of the form’s $options array.
For more info on this function, please visit the docs here: http://www.advancedcustomfields.com/resources/create-a-front-end-form/