Re: [html-formfu] position element not found error when using insert_before

2009-10-15 Thread mohanprasad
ent not found. Thanks for your help. Best Regards, Mohan Carl Franks wrote: > > 2009/10/15 mohanprasad : >> >> Hi, >> >> I am trying to insert a new element in my catalyst controller action >> using >> below code. >> i have two hidden fileds, one tex

[html-formfu] position element not found error when using insert_before

2009-10-15 Thread mohanprasad
Hi, I am trying to insert a new element in my catalyst controller action using below code. i have two hidden fileds, one text box, i am trying to insert the new element before hidden fields. my $form = $self->form; my $file = "restricted/add/product"; $form->load_config_filestem($file); $form->p

Re: [html-formfu] using order by with model_config

2009-05-06 Thread mohanprasad
order_by: 'name asc' thanks. Best Regards, Mohan mohanprasad wrote: > > Hello everybody, > > i am not sure whether i have to ask this question in DBIx-Class/FormFu > mailing list. > I want to show all the items in a select box in alphabetical order. > >

[html-formfu] using order by with model_config

2009-05-06 Thread mohanprasad
Hello everybody, i am not sure whether i have to ask this question in DBIx-Class/FormFu mailing list. I want to show all the items in a select box in alphabetical order. I have written the below code for the same. --- action: auto_fieldset: 1 auto_id: '%f_%n' elements: - type: Select name: us

[html-formfu] HTML::FormFu::Constraint::DBIC::Unique package

2009-04-18 Thread mohanprasad
Hello, Where do i get HTML::FormFu::Constraint::DBIC::Unique package? i am unable to find it in CPAN thank you. Best Regards, Mohan -- View this message in context: http://n2.nabble.com/HTML%3A%3AFormFu%3A%3AConstraint%3A%3ADBIC%3A%3AUnique-package-tp2657516p2657516.html Sent from the HTML-For

Re: [html-formfu] providing condition attributes for Select box while using DBIC

2009-04-03 Thread mohanprasad
2009/4/3 mohanprasad : > > hello everybody, > > i am trying to provide a select box in a html form. > All the options should come database using DBIC. > I want to filter the database entries fetched using DBIC. > >From the documentation > >http://search.cpan.org/~

[html-formfu] providing condition attributes for Select box while using DBIC

2009-04-03 Thread mohanprasad
hello everybody, i am trying to provide a select box in a html form. All the options should come database using DBIC. I want to filter the database entries fetched using DBIC. >From the documentation >http://search.cpan.org/~cfranks/HTML-FormFu-Model-DBIC-0.03007/lib/HTML/FormFu/Model/DBIC.pm >

[html-formfu] Formfu inflator error

2009-03-17 Thread mohanprasad
Hello everybody, i have written a form with the following elements for testing inflator feature in formfu. But when i tried to upload the image , form submittion is failing, i am getting the "Error opening image file" error yml form is as follows. elements: - type: File name: image

Re: [html-formfu] problem with setting options on select element

2009-03-13 Thread mohanprasad
Carl Franks wrote: > > 2009/3/13 mohanprasad : >> >> Hello, >> >> I am trying to set options for a select element in a form. >> my code is as follows >> >> sub content :Chained('stash_product_name') PathPart('') Args(0) >

[html-formfu] problem with setting options on select element

2009-03-13 Thread mohanprasad
Hello, I am trying to set options for a select element in a form. my code is as follows sub content :Chained('stash_product_name') PathPart('') Args(0) FormMethod('load_form') { my ($self, $c) = @_; $c->stash->{'template'} = "restricted/add/sample.tt"; my $cc = $c->user->country || '