Support

Account

Home Forums Front-end Issues External condition for displaying field Reply To: External condition for displaying field

  • I want to show / hide the field in the frontend form based on a custom user meta.

    So no conditional relationship to any other fields. I want to have some sort of php condition whether to show the field for the specific user at all in the frontend form (where users can send in posts).

    Something like this (pseudo code)

    if(get_user_meta('myfield') == 'myvalue'):
     show_this_acf_repeater_field;
    endif;