This topic is locked

required fields

9/19/2005 2:19:28 PM
PHPRunner General questions
author

Hi,

I have phprunner set to not require fields, but it is still making everything required. What am I doing wrong?

admin 9/20/2005

Eric,
"Required Field" asterisk displays if this field set as required in PHPRunner or set as NOT NULL during the table creation in MySQL.

You can change this behaviour by modifying GetLegendIcon function in include\ ..._functions.php file.
To display asterisk for Required Field only you need to replace this line:

if(!IsRequired($field) && IsNullable($field) &&



with this one:

if(!IsRequired($field) &&