Embperl::Form::Control::scriptcode(3) A control to add script code to an Embperl Form

SYNOPSIS


{
type => 'scriptcode',
code => 'function onEvent { .... }',
}

DESCRIPTION

Used to create a script code blockinside an Embperl Form. The code block is added to the end of the form. See Embperl::Form on how to specify parameters.

PARAMETER

type

Needs to be set to 'scriptcode'.

name

optional

scripttype

Type of script code. Default: text/javascript

code

The actual script code.

Author

G. Richter (richter at embperl dot org), A. Beckert ([email protected])

See Also

perl(1), Embperl, Embperl::Form