Reference Guide

Adobe Acrobat PDF Lampshade 1.2 Reference (PDF)

form.inc.php - Form Functions

echoBox

Required Parameters: string $field
Optional Parameters: string $value, string $label, string $tableName, string $alternate
Returns: None
Description: This function prints out the value of a field without allowing the user to edit it. If the value of a drop-down box needs to be displayed, but the values are stored in another table, specifying the name of the current table in the $tableName variable causes the function to look up the appropriate value automatically by using the Lampshade "relationships" table. Normally, the field specified in the "display" field of the "relationships" table will be the one used to product the output for this function, but a different field can be specified using the $alternate variable.

function echoBox($field, $value = '', $label = '', $tableName = '', $alternate = '')

Copyright © 2001-2010 Think Computer Corporation. All Rights Reserved. Patent pending.

Authors of the impossible.™
Think