Hi,
I have a frontend acf form with these options :
$edit_post = array(
‘fields’ => array(
’boutique_cover’,
’boutique_logo’,
’boutique_name’,
’boutique_url’,
’boutique_desc’,
’boutique_short_desc’,
’boutique_products’,
’boutique_custom_CTA’,
’boutique_social_buttons’,
’boutique_card_img’,
),
‘post_id’ => $current_boutique_id,
‘post_status’ => ‘publish’,
‘form’ => true,
‘post_title’ => false,
‘return’ => ‘%post_url%’,
‘html_submit_button’ => ‘<input type=”submit” class=”button edit-boutique-submit” value=”Enregistrer les modifications” />’,
);
If you check in the fields, i have a field ’boutique_products’ which is a repeater field. What i need to know is, if it’s possible to display only certain fields INSIDE that particular repeater field.
Exemple :
Field 1
Field 2 (repeater)
– sub field 1
– sub field 2
– sub field 3
Field 3
If i wanted to show only sub 1 and sub 3 inside the field 2 (repeater), how can i do this? except with css. Can i use the php options in any way to do this?
The thing is, some of those repeater’s field are for admin purpose and others are for user purpose. Both fields are required but only the user should be displayed in this frontend form.