for example ....
I gotta a curriculum section in my site....
Among may things that the user can add is "last experience" ( company
name / for how long / etc)
I can't force the user to fill the last experierence section .... but if he
does ... I'll save the information ....
Hope I made myself clearer now
Diogo Saad
Inter Business Tecnologia e Servi�os
[EMAIL PROTECTED]
----- Original Message -----
From: "John McNally" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 02, 2001 4:50 PM
Subject: Re: intake problem
> you say the fields are optional. but if they are empty you want that to
> be an invalid state? Are you wanting at least one field filled, but
> which one is not important? How does a isAllSet method help you if the
> fields are optional?
>
> Need more info.
> John McNally
>
>
> Diogo Saad wrote:
> >
> > I have a form with some groups mapped to different objects ....
> >
> > Everything that the user completes in my form I create the object
related to the group and set it's properties for saving in DB
> > My problem is : - How do I know if the user has filled the fields ( I
don't want to create objects and set it's properties if the form is empty)
?
> >
> > I can't use the flag required in my intake groups groups cause they
aren't required fields ... they are optional
> >
> > There is no method getFieldsArray() in Group class ( i've noticed that
there's isSet() method in Field class -- it would be usefull to have
isAllSet() in Group ..)
> >
> > How do I create my objects and set their props only if the user has
filled the form ( I can't save an empty obj in DB )
> >
> > Diogo Saad
> > Inter Business Tecnologia e Servi�os
> > [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> 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]