Below is the entry list for the 2017 NZO Open. Note divisions are calculated from competitors entry weight – refer to notice of race regarding minimum numbers in a division.

[insert_php] $total=0;
echo “

“;

//Note only edit in text mode else pointers will be escaped.

$form_id=36;

$tempClassName = “”;
// This will return an array of sub objects.
$subs = Ninja_Forms()->form( $form_id )->get_subs();

foreach ( $subs as $sub ) {
echo “

“;
if ($bclass!=”No Entry”)
{
$total++;
}
}

echo “

First Name Last Name Club Class Division
“;
// Echoes out the submitted value for a field
echo ucfirst(strtolower($sub->get_field_value( textbox_218)));
echo “
“;
echo ucfirst(strtolower($sub->get_field_value( lastname_219 )));
echo “
“;
echo $sub->get_field_value( listselect_231 );
echo “
“;
$bclass = trim(strtok(($sub->get_field_value( nzo_class_1501665883549 )),”-“));
echo $bclass;
echo “
“;
$weight=$sub->get_field_value( number_227 );
if($weight < "70" ){ echo "Lightweight"; } elseif($weight < "82.5"){ echo "Middleweight"; } elseif($weight < "95"){ echo "Heavyweight"; } else{ echo "Super Heavyweight"; } echo "

Total Entries = “;
echo $total;
[/insert_php]