Questions tagged [html-formfu]

8 questions
6
votes
1 answer

How can I use HTML::FormFu for jQuery AJAX form validation?

Are there any examples I can look at that use HTML::FormFu with AJAX form validation and submission? I would really not like to write my validation routines three times (once in JS, once in FormFu constraints, and once in DBIC models), so I'd really…
A. Murka
  • 212
  • 1
  • 6
3
votes
1 answer

How to choose a tool for handling forms with Catalyst Framework?

I'm using the Catalyst Framework to develop a small app. I'm actually searching for a way to handling my forms in a more common way. The Catalyst Tutorial told about tree different modules and give recommendations for 2 tools, HTML::FormFu and…
smonff
  • 3,399
  • 3
  • 36
  • 46
2
votes
1 answer

Populating $form_input with 'select' element options?

I'm trying to understand the data-structure required to populate a form with 'select' element values (options). When I dump (Data::Dumper) the FormFu object, I see that the object structure looks similar to the following: 'name' =>…
jbobbylopez
  • 257
  • 2
  • 6
  • 15
2
votes
0 answers

Catalyst::Plugin::I18N doesn't work properly with HTML::FormFu

I'm setup a new project with Catalyst with the Plugin Catalyst::Plugin::I18N and creating forms with HTML::FormFu my problem is that localization with the HTML::FormFu config files doesn't work. I create my language files like written here:…
Biber89
  • 21
  • 1
1
vote
1 answer

Catalyst FormFu DBIC error - using dot notation in a resultset

I've inherited a Perl Catalyst application that I'm trying to port to a new server. The application uses FormFu with the HTML::FormFu::Model::DBIC module used to load data from a result set. I have a DBIx table, say MyTable, with an auto-generated…
Mike Bennett
  • 266
  • 3
  • 10
0
votes
1 answer

Using HTML::FormFu, how do you change a field value *after* processing so that it appears modified in Template Toolkit?

For example, if I process a form: my $form_input = { input_data => '123' }; $form->process($form_input); Then I want to alter the value of 'input_data': my $clearme = $form->get_field('input_data'); $clearme->value("546"); # doesn't seem to…
jbobbylopez
  • 257
  • 2
  • 6
  • 15
0
votes
1 answer

How can I use XML::Simple to configure HTML::FormFu?

I assume you can use XML::Simple with HTML::FormFu because FromFu uses Config::Any to load it's config data. However, I can't seem to find any sample xml configs being used with HTML::FormFu. Not only am I getting an error. I'm not sure my xml is…
hog
  • 29
  • 1
  • 6
0
votes
2 answers

How to reload the html(contact us) form after submitting a html/php form in a iframe

I have a contact form in my html page .where in a iframe src with a html contactus form .once the contact us form is submitted to a thanks.php form . the out put will be the html thanks message from thanks.php file is displaying . now my…