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.
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
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
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
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
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