Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Re: [fuzzy logic] Walk-through how to Add Select Menu?: Edit Log

Here is the list of edits for this post
Re: [fuzzy logic] Walk-through how to Add Select Menu?
i think i might have cracked it...

EDIT>> NOPE - the code below forgets the user selection if the form is returned with an error, because I've taken the "Tags" line out. How would I go about keeping the Tags but also passing in the other value?

Tag to go into the template...

<%build_select_menu(Days)%>

global to add called "build_select_menu"...

sub {
my $column = shift ;
my $table = $DB->table("Links");
my $html = $DB->html($table, $IN);
my $form = $html->select({name => "$column"});
return $form;
}

regan

Last edited by:

ryel01: Mar 13, 2004, 10:30 PM

Edit Log: