I'm using 2.6.1. Validation does not happen for widgets in current struct. They displays, even [*] displays on each widget means that CForm template generator correctly handles "required" attribute... But validation does not works. Form just submits and flow exits.
On Mon, 2005-03-14 at 20:11 +0000, Tim Larson wrote: > On Mon, Mar 14, 2005 at 09:57:49PM +0200, Arsen A. Gutsal wrote: > > Hello. > > I've the form, which hosts fd:union and few fd:struct which shows by > > ft:case statement. > > fd:struct hosts few fd:field widgets which has required="true" on them. > > But form SUBMITS always when submit button is clicked. > > Without any validation. > > Have another forms absolutelly similar but without fd:struct, fd:union. > > Its works fine! > > What I'm doing wrong? > > Validation should only happen for widgets in the current union case, > not for widgets in other cases. Is this different from what you are > observing? Which version of Cocoon are you running? > > --Tim Larson > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
