Re: FormFragment validates on the server even when not visible

2013-07-11 Thread Joost Schouten (mailing lists)
Hi, Thanks for your help. Our mails must have crossed :) isDeepVisible() does indeed seem to be setting the disabled attribute of the hidden form field! I did read the docs here but in all honesty they still don't make a lot of sense to me. I'll have a play with it as it sure sounds a bit more

Re: FormFragment validates on the server even when not visible

2013-07-11 Thread Joost Schouten (mailing lists)
A bit more on this. What seems to be going wrong that in my case the hidden form fields in the FormFragment's are submitted even when the fragments are hidden on initial render. When I show and hide them again, the hidden fields get a "disabled" attribute preventing them hidden from-fields from

Re: FormFragment validates on the server even when not visible

2013-07-11 Thread Yunhua Sang
I have the similar problem; I thinks it's because the FormFragment renders a hidden element, when the zone gets refreshed, the hidden element's disable property is set to be true, which is invalid, then the elements within the FromFragment get submitted I guess it's related to isDeepVisible() Java

FormFragment validates on the server even when not visible

2013-07-11 Thread Joost Schouten (ml)
Hi, I'm using a FormFragment triggered by two Radio's in a RadioGroup. This all works fine and validation works as expected. The hidden Fragment is ignored when the form is submitted. Except for one situation: when I load the Form and containing FormFragment's in a Zone and use the visible attrib