Name

submit

Synopsis

print $query ->submit([ 'label',’value' ])

Description

Generates a submit button.

label

The label to use for the button.

value

The value to return when the form is submitted.

Using named parameters, the syntax is:

print $query->submit(-name=>'name',
                     -value=>'value',
                     -onClick=>function);

Get Perl in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.