Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [jaltuve] Global for ENUM-field (checkboxes)

Quote Reply
Re: [jaltuve] Global for ENUM-field (checkboxes) In reply to
I tried to use this in GL 3.2.0 and it works.

Code:
sub {
my ($select_db, $select_field, $select_default) = @_;
my $html = $DB->html ( [$select_db], $IN );
return $html->radio ( { name => $select_field, value => $select_default });
}
My first question: Isn't there a build-in way in 3.2.0?

My second question: To use it in include_form (in error-case or modify-case), I need the selected value instead of the default value as third parameter. Then the default parameter will be the first in the def-file, I guess?

Regards,
Chris
Subject Author Views Date
Thread Global for ENUM-field (checkboxes) calliope 9170 May 6, 2003, 6:59 AM
Thread Re: [calliope] Global for ENUM-field (checkboxes)
webmaster33 8961 May 7, 2003, 6:30 AM
Thread Re: [webmaster33] Global for ENUM-field (checkboxes)
Paul 8926 May 7, 2003, 7:06 AM
Thread Re: [Paul] Global for ENUM-field (checkboxes)
webmaster33 8899 May 7, 2003, 7:13 AM
Thread Re: [webmaster33] Global for ENUM-field (checkboxes)
Paul 8904 May 7, 2003, 7:57 AM
Thread Re: [Paul] Global for ENUM-field (checkboxes)
webmaster33 8937 May 7, 2003, 8:05 AM
Post Post deleted by calliope
calliope 8850 May 7, 2003, 8:28 AM
Post Re: [webmaster33] Global for ENUM-field (checkboxes)
calliope 8908 May 7, 2003, 8:34 AM
Thread Re: [webmaster33] Global for ENUM-field (checkboxes)
Paul 8925 May 7, 2003, 8:36 AM
Thread Re: [Paul] Global for ENUM-field (checkboxes)
calliope 8914 May 7, 2003, 9:59 AM
Thread Re: [calliope] Global for ENUM-field (checkboxes)
webmaster33 8854 May 7, 2003, 2:07 PM
Thread Re: [webmaster33] Global for ENUM-field (checkboxes)
Aki 8892 May 8, 2003, 11:21 AM
Thread Re: [Aki] Global for ENUM-field (checkboxes)
webmaster33 8888 May 8, 2003, 3:02 PM
Thread Re: [webmaster33] Global for ENUM-field (checkboxes)
calliope 8814 May 8, 2003, 11:39 PM
Thread Re: [calliope] Global for ENUM-field (checkboxes)
jaltuve 8852 May 9, 2003, 10:38 AM
Thread Re: [jaltuve] Global for ENUM-field (checkboxes)
cwschroeder 8542 Jan 7, 2008, 5:30 AM
Post Re: [cwschroeder] Global for ENUM-field (checkboxes)
Andy 8561 Jan 7, 2008, 6:44 AM
Post Re: [Aki] Global for ENUM-field (checkboxes)
jaltuve 8790 May 9, 2003, 10:46 AM
Post Re: [calliope] Global for ENUM-field (checkboxes)
Paul 8832 May 7, 2003, 3:02 PM