Re: [dfv] field filters not executed for optional?
Status: Inactive
Brought to you by:
markjugg
|
From: Jiří P. <ji...@ge...> - 2010-12-15 16:50:11
|
On 15.12.2010 15:36, Mark Stosberg wrote: >> I stripped my profile to the following test case. The optiona; value is >> not even amongst 'valid' fields. Did I misunderstood the ' >> missing_optional_valid' option? > Yes. It has a confusing detail when used in combination with checkboxes. > In fact, someone just ran into the same issue a few days ago. > > As the documentation for missing_optional_valid states, it is to cover > "optional fields with empty values". Despite the name, by intent it does > not cover completely missing values. The nature of checkboxes is > related-- unlike a text field a checkbox won't submit anything if it is > not checked. ( Rather than submitting the name with no value, there will > be nothing ). > > So, setting defaults in combination with checkboxes is recommended. It's > something I do myself. > Ok,thanks. Now I got it working. Regards, Jiri |