Hello everybody,
I’m asking something just to know if it’s possibile.
I have a very complex form with several repeater and complex layout fields.
A lot of this fields are inside a conditional logic.
I would like to create a much simpler form to let users post new content from the frontend, without all the conditional stuff.
Is it possibile to have a form on the frontend that is different (with different field groups) and then “moving” all the data in the right fields before saving the post?
This really isn’t possible. In order for ACF to find the content the fields and sub fields need to have the same hierarchy and field keys.
I suppose it could be possible if you want to do all the input parsing yourself, get the fields submitted on the front end and update fields in a different field group.
But this is not something that you can do by just creating two different field groups
See
http://www.advancedcustomfields.com/resources/acf_form/
http://www.advancedcustomfields.com/resources/acf-pre_save_post/
http://www.advancedcustomfields.com/resources/using-acf_form-to-create-a-new-post/
http://www.advancedcustomfields.com/resources/acfsave_post/
http://www.advancedcustomfields.com/resources/update_field/
There may be other documentation as well
OK, this is far too complicated for the time window I have.
Maybe is possible to pre-populate fields? Like precheck the field that fires the condition?
Set the default value to the value that shows the conditional field.