2010/5/6 Sergio Cambra .:: entreCables S.L. ::. <[email protected]>:

>> So the main question is: how does AS determine if a subform entry has
>> been filled or not? I think that it ignores select and checkboxes and
>> requires a text field to be filled, am I right? If so, I think it is
>> not valid for all the cases (as in my case).
>
> When show_blank_record is enabled (it does by default), AS check if record is
> empty. To do that, it ignores boolean and date fields and other fields with
> default value. If you want to skip this check, disable show_blank_record, you
> won't get an empty record shown by default, but all records you add will be
> saved (even empty).

This is a good solution. I think I already tested it nd didn't work,
but I could be wrong. I'll check it,

Thanks a lot.

-- 
Iñaki Baz Castillo
<[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to