Hi, I cannot get the get_element method to work on my installation.
Catalyst::Controller::HTML::FormFu my $select = $form->get_element({type => 'Select'}); # There is only one select element in my yml form $c->log->debug("Select=",$select); $select->options([EMAIL PROTECTED]); Produces this: [debug] Select= [error] Caught exception in Motion::Controller::Users->add "Can't call method "options" on an undefined value at /var/www/MyApp/script/../lib/MyApp/Controller/Users.pm line 79." I have had this problem in a few different controllers in my Cat app. What I have been doing is my $select = $form->get_all_elements({type => 'Select'}); $c->log->debug("Select=",join ' ', $select->[0]); $select->[0]->options([EMAIL PROTECTED]); I guess I might need to try this in a CGI environment to debug it further but I was wondering if anyone else has experienced this? Thanx, Dp. _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu