SproutCMS

This is the code documentation for the SproutCMS project

function setFieldValue()

Sets the value for a single field

As form fields are rendered using the Fb class, this method just sets the data there

Usage

void Form::setFieldValue ( array $field , array $value );

Arguments

  1. array $field
    Field name, e.g. 'first_name'
  2. array $value
    Field value, e.g. 'John'

Return value

  • void