Re: [html-formfu] Date element in Multi

2008-08-18 Thread Moritz Onken
The Date element itself is a subclass of Multi, so I don't think this is likely easy to fix. The Multi block was initially just intended as an easy way to get a different layout - so trying to nest them is way beyond its original design. Carl Understood. I was trying to put a text field (

Re: [html-formfu] Date element in Multi

2008-08-18 Thread Carl Franks
2008/8/17 Moritz Onken <[EMAIL PROTECTED]>: > Hi, > > I think there is a bug if you put a date element in a multi block. > > The error says: > "Can't locate object method "_string_field" via package > "HTML::FormFu::Element::Date" The Date element itself is a subclass of Multi, so I don't think th

Re: [html-formfu] Date element validation

2008-06-26 Thread Carl Franks
2008/6/12 Michele Beltrame <[EMAIL PROTECTED]>: >> If the only error in the submissions is an invalid date, then the form will >> be rendered with the "Invalid date" error message, as expected. However, if >> there are any other errors in the submission (such as a missing required >> field), then o

Re: [html-formfu] Date element validation

2008-06-12 Thread Michele Beltrame
Hi Ronald! > If the only error in the submissions is an invalid date, then the form will > be rendered with the "Invalid date" error message, as expected. However, if > there are any other errors in the submission (such as a missing required > field), then only those error messages are displaye

Re: [html-formfu] date element setvalue

2007-08-14 Thread Carl Franks
On 10/08/07, Tobias Kremer <[EMAIL PROTECTED]> wrote: > Quoting Thorsten Domsch <[EMAIL PROTECTED]>: > > name.setfromsqlstring would be cool or a method to change the value of a > > single selectbox like name.day.value or both(which would be best) > > Hmm.. I think it would be useful if one could

Re: [html-formfu] Date element set value

2007-08-13 Thread Carl Franks
On 13/08/07, Tobias Kremer <[EMAIL PROTECTED]> wrote: > Carl, > > is it correct, that it's currently completely impossible to set a value for > the > newly introduced date element? I tried the following variations and none of > them > seems to work: > > 1. $form->get_field( { name => 'birthdate'

Re: [html-formfu] date element setvalue

2007-08-10 Thread Tobias Kremer
Quoting Thorsten Domsch <[EMAIL PROTECTED]>: > name.setfromsqlstring would be cool or a method to change the value of a > single selectbox like name.day.value or both(which would be best) Hmm.. I think it would be useful if one could stuff in a DateTime object because IMHO that's what most users

Re: [html-formfu] Date Element

2007-07-12 Thread Tobias Kremer
Hi Carl, So, Carl, may I kindly ask for something like a Date element because it looks like currently you're the only person capable of implementing this in a sane way :) FormFu is the best form engine currently available but without a user-friendly date element it's almost useless for us b

Re: [html-formfu] Date Element

2007-07-12 Thread Jason Kohles
On Jul 12, 2007, at 12:26 PM, Carl Franks wrote: On 11/07/07, Tobias Kremer <[EMAIL PROTECTED]> wrote: So, Carl, may I kindly ask for something like a Date element because it looks like currently you're the only person capable of implementing this in a sane way :) FormFu is the best form e

Re: [html-formfu] Date Element

2007-07-12 Thread Carl Franks
On 11/07/07, Tobias Kremer <[EMAIL PROTECTED]> wrote: Hi folks, I'm wondering why there still is no such thing as a Date element consisting of three select fields (day, month, year)? Am I the only person who doesn't like giving users a stupid textfield for entering dates? I don't like JavaScript