You can make a field "required" by changing one field setting.
See below an example.
$x='Description'; # ------------------------------
$WBF{$x,srt}=$i--;
$WBF{$x} = '/^.+/'; ### HERE is where you make the field mandatory using
Perl regular expressions.
$WBF{$x,'type'} = 'INPUT';
$WBF{$x,'head'} = 'Description';
$WBF{$x,'help'} = 'Enter the description (Mandatory).';
Good luck,
Jean-Paul