Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Is there a different way to go at it rather than what's shown below? Are there form/table templates for us to use somewhere?
Thanks.
print start_form(), table( Tr( td("Name: "), td( textfield( -name => 'name', -default =>"$edituser", -size => 40 ) ) ), Tr( td("Address 1: "), td( textfield( -name => 'add1', -default =>"$add1", -size => 40 ) ) ), Tr( td("Address 2: "), td( textfield( -name => 'add2', -default =>"$add2", -size => 40 ) ) ), Tr( td("City/State: "), td( textfield( -name => 'city', -default =>"$city", -size => 40 ) ) ), Tr( td("Zip: "), td( textfield( -name => 'zip', -default =>"$zip", -size => 40 ) ) ), Tr( td("Country: "), td( textfield( -name => 'country', -default =>"$country", -size => 40 ) ) ), Tr( td(), td(submit('update')) ), ), end_form(),;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Beautifying CGI.pm forms/tables
by b10m (Vicar) on Dec 27, 2003 at 12:46 UTC | |
|
Re: Beautifying CGI.pm forms/tables
by thens (Scribe) on Dec 27, 2003 at 16:03 UTC | |
|
Re: Beautifying CGI.pm forms/tables
by jeffa (Bishop) on Dec 27, 2003 at 18:33 UTC | |
|
Re: Beautifying CGI.pm forms/tables
by pg (Canon) on Dec 27, 2003 at 16:34 UTC |