Limit number of times a value can be selected
add_filter( ‘frm_validate_field_entry’, ‘frm_custom_limit’, 10, 3 ); function frm_custom_limit( $errors, $posted_field, $posted_value ) { if ( $posted_field->id == 3734 && !is_admin() ) { //change 3734 to the ID of the field you want to limit $entries_with_selected_value = FrmEntryMeta::get_entry_metas_for_field( 3734, ”, ”,…Continue reading