I gave a code here but its not working I am using elemetor page builder function show_tax_excemption_upload(){ if (function_exists('pmpro_hasMembershipLevel') && pmpro_hasMembershipLevel('Tax Exempt Organizations')){ document.getElementById('pmpro_form_fieldset-tax-exemption-documents').style.display = 'inline'; } else { document.getElementById('pmpro_form_fieldset-tax-exemption-documents').style.display = 'none'; } } I tried placing it using code snippet, It should be showing/hide the form element block depend on user membership level