Re: [html-formfu] Model::DBIC and nested blocks not updating

2009-09-08 Thread Charlie Garrison
Good afternoon, On 9/09/09 at 12:02 AM +0200, Mario Minati wrote: could you add the content of $value in _save_columns, or setup a (failing) test from your problem, that would ease the debugging. Some of my tests did include $value, and it always matched the contents of the listed field.

Re: [html-formfu] Model::DBIC and nested blocks not updating

2009-09-08 Thread Mario Minati
Hi Charlie, could you add the content of $value in _save_columns, or setup a (failing) test from your problem, that would ease the debugging. Greets, Mario Charlie Garrison schrieb: Good morning, I'm having a problem with nested blocks not updating repeatable (has_many) records. I think

[html-formfu] Model::DBIC and nested blocks not updating

2009-09-08 Thread Charlie Garrison
Good morning, I'm having a problem with nested blocks not updating repeatable (has_many) records. I think it's a bug but could be a problem with my app. My form config looks like this: elements: - type: Text name: username - type: Text name: password - type: Block

Re: [html-formfu] fieldA OR fieldB Constraint

2009-09-08 Thread Benjamin Martin
Excellent. I thought it might be via the application of a Constraint, but I just could not see it Thanks alot Carl, very much appreciated. Carl Franks wrote: Hi Ben, The MinMaxFields constraint should do for this: constraint: type: MinMaxFields name: fieldA others: - fieldB

Re: [html-formfu] fieldA OR fieldB Constraint

2009-09-08 Thread Carl Franks
Hi Ben, The MinMaxFields constraint should do for this: constraint: type: MinMaxFields name: fieldA others: - fieldB min: 1 max: 1 This will ensure that at least one is filled in, but not both. If you want both to be optional, min(0) should work for that. Carl 2009/9/8 Benjamin M

[html-formfu] fieldA OR fieldB Constraint

2009-09-08 Thread Benjamin Martin
Hello, Have hunted about abit, but can't find a constraint that will allow me to say "fill out fieldA OR fieldB" ... I'm guess there is something out there?? ... or do I need to roll my own?? Many thanks, -Ben ___ HTML-FormFu mailing list HTML-Form