Home Forums ACF PRO Hiding a ACF_Form If Full? Reply To: Hiding a ACF_Form If Full?

  • A littel more details on whats happening. I’ve got a woocomemrce shop setup and ACF_Form to show up on each individual order page on the front and back end through ACF_FORM. Person purchases product and then has to fill out the required information on the order to finish and submit.

    After the information is full we don’t want it to be edited without contacting customer support. the call to the product and form is simple as follows

    	<?php if ($product_id == 263 ) : 
                        'post_id'       => $order_id,
                        'field_groups'  => array( 382 ),
                        'post_title'    => false,
                        'post_content'  => false,
                        'submit_value'  => __('Update Info')
        endif; ?>

    Workin great, just don’t understand if I can run a check on the exisiting ACF_form data to see if it’s empty. Is looping through each field first the key and then showing the form if one comes back say empty/false?