SproutCMS

This is the code documentation for the SproutCMS project

function makeOptional()

Modify a JSON form config to make a particular field optional

Usage

void JsonForm::makeOptional ( array &$conf , string $field_name );

Arguments

  1. array $conf (by reference)
    The JSON form config
  2. string $field_name
    The name of the field

Return value

  • void