<?php
echo “test22”;
//add_action(‘frm_display_form_action’, ‘limit_entry_count’, 8, 3); function limit_entry_count($params, $fields, $form){ //remove_filter(‘frm_continue_to_new’, ‘__return_false’, 50); if ( in_array($form–>id, array(5,6,7)) ) { //change 5, 6, and 7 to your //form ID(s) $count = FrmEntry::getRecordCount($form–>id); if ( $count >= 15 ) { //change 15 to your entry limit echo ‘This form is //closed’; add_filter(‘frm_continue_to_new’, ‘__return_false’, 50); } } }
?>