Brian Cassidy wrote:
Just wrap %n in single quote: '%n' -- that'll make YAML::XS happy.

That worked. Thanks. I have one other error now. I suspect it is the same type of problem.

The system tries to read a form with a load_config_file command in it and it reports that it cannot find that file. Do I need to change the format for this line?

This form:

---
indicator: submitted
auto_id: '%n'
attributes:
 class: labelsAbove hintsTooltip

elements:

 - type: Fieldset
   legend: OMTS Prior Approval Application
#  - type: Block
   load_config_file:

# FORMS
     - prior/hidden_fields.yml



gives this error:

Caught exception in OMTSWeb::Controller::Prior->new_prior "config file 'prior/hidden_fields.yml' not found at C:/Perl/site/lib/Catalyst/Controller/HTML/FormFu/Action/Config.pm line 35
at C:/Perl/site/lib/Catalyst/Controller/HTML/FormFu/Action/Config.pm line 35
at C:/Perl/site/lib/Catalyst/Controller/HTML/FormFu/Action/Config.pm line 35"


_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to