Name

findmodel — creates a table and choice box for models with a given name

Synopsis

use Wacs;
use Wacs::WacsStd;
use Wacs::WacsUI;
findmodel(...); 
 

Parameters

parameterdescription
mnamethe model name or beginning of the name to look for
offeraltWhether to offer an alternative choice or not: y or n
offervalueWhat the value returned for the alternative should be, eg next
offercaptWhat the caption for the alternative value should be
incsubmitWhether to include a submit button or not: y or n
dbhandlepointer to the currently active database handle
cgihandlepointer to the currently active CGI object

Summary

The findmodel function takes the name of a model and searches the database for who it might concievably be. It checkes the model's name, her aliases and the name from each of her ID map entries. It presents a headshot, description, and a radio button to allow her to be choosen. It can optionally offer an additional radio button for another purpose. The choosen model's number or next will be returned in a CGI variable called modelno.

Availability

findmodel is only available in perl at this time