CodeCharge Studio

SetValue Method (PHP)

Applies to

Checkbox Control, CheckboxList Control, FileUpload Control, Hidden Control, Image Control, ImageLink Control, Label Control, Link Control, ListBox Control, RadioButton Control, TextArea Control, TextBox Control

Syntax

<control>->SetValue(value)

Parameters

Name Type Description Required
value Depends on the Data Type of the Control Value to be assigned to the control. Yes

Description

This method sets the value of a control. The value is influenced by the data type as well as format of the control. This method is often used to dynamically assign or alter the value of a control at runtime.

See also

GetValue Method


On-line, printable versions and updates