[ad_1]
Hi Konrad,
Thank you for your fast reply. Here is the form in Json.
[
{
"name": "edition_reception",
"title": "Édition de réception",
"active": true,
"field_groups": [
"group_5f66fbcb7ff51"
],
"settings": {
"location": 0,
"honeypot": 1,
"kses": 1,
"uploader": "default"
},
"attributes": {
"form": {
"element": "form",
"class": "acf-form",
"id": ""
},
"fields": {
"element": "div",
"wrapper_class": "",
"class": "",
"label": "top",
"instruction": "label"
},
"submit": {
"value": "Enregistrer",
"button": "<input type=\"submit\" class=\"acf-button button button-primary button-large\" value=\"%s\" \/>",
"spinner": "<span class=\"acf-spinner\"><\/span>"
}
},
"validation": {
"hide_error": 0,
"hide_revalidation": 0,
"hide_unload": 0,
"errors_position": "above",
"errors_class": ""
},
"success": {
"hide_form": 0,
"scroll": false,
"message": "Réception mise à jour",
"wrapper": "<div id=\"message\" class=\"updated\">%s<\/div>"
},
"actions": [
{
"action": "post",
"name": "ajout-reception",
"type": "update_post",
"save": {
"target": "{request:receptions_id}",
"post_type": "",
"post_status": "",
"post_title": "",
"post_name": "",
"post_content": "",
"post_excerpt": false,
"post_author": "",
"post_parent": "",
"post_date": "",
"post_thumbnail": "",
"post_terms": "",
"append_terms": "",
"acf_fields": [
"field_5f66fc0cc4f71",
"field_5f66fc20c4f72",
"field_5f66fc5603a37",
"field_5f66fc9b8db09",
"field_5f674852a79d7"
]
},
"load": {
"source": "{request:receptions_id}",
"post_type": "",
"post_status": "",
"post_title": "",
"post_name": "",
"post_content": "",
"post_excerpt": false,
"post_author": "",
"post_parent": "",
"post_date": "",
"post_thumbnail": "",
"post_terms": "",
"acf_fields": [
"field_5f66fc0cc4f71",
"field_5f66fc20c4f72",
"field_5f66fc5603a37",
"field_5f66fc9b8db09",
"field_5f674852a79d7"
]
}
},
{
"action": "post",
"name": "",
"type": "update_post",
"save": {
"target": "{post}",
"post_type": "",
"post_status": "",
"post_title": "",
"post_name": "",
"post_content": "",
"post_excerpt": false,
"post_author": "",
"post_parent": "",
"post_date": "",
"post_thumbnail": "",
"post_terms": "",
"append_terms": "",
"acf_fields": ""
},
"load": {
"source": "{post}",
"post_type": "",
"post_status": "",
"post_title": "",
"post_name": "",
"post_content": "",
"post_excerpt": false,
"post_author": "",
"post_parent": "",
"post_date": "",
"post_thumbnail": "",
"post_terms": "",
"acf_fields": ""
}
}
],
"render": ""
}
]