When a form was submitted (and has errors) you don't load the values from the DB to it - you load what you have in the CGI parameters - so that the user can correct it. So you cannot just add the creation of options to the DBIx::Class::HTML::FormFu fill_formfu_values method because it would not be called in that case.
There are two options: 1. You create the options at the load_config_file - together with all the other stuff (via a callback? - I don't know FormFu enough) 2. You create the options with a separate method that should always be called after load_config_file (but before process) -- Zbigniew Lukasiak http://brudnopis.blogspot.com/ _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu