a nested conditional? check if the phone field is filled in, if not check
if any of the address fields are not filled.

On 6 February 2012 22:23, Don Talcott <dtalc...@mindspring.com> wrote:

> Thank you, this worked. Now I have the following;
>
> Six fields:
> 1. Phone
> 2. Address
> 3. City
> 4. Country
> 5. State
> 6. Zip
>
> What I'm trying to do is give the choice of filling out the Phone field OR
> the address fields ( 2-6).
> If they choose the Phone field, none of the address fields are required.
> If they choose one of the address fields, all of the address fields are
> required.
>
> I know I'm over-thinking this.
> On Feb 6, 2012, at 3:47 PM, Ross Sclafani wrote:
>
> > if( field.text != ''){
> > // field contains anything.
> > };
> >
> > Ross P. Sclafani
> > design / technology / creative
> > _______________________________________________
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> DON TALCOTT
> 316 Greenwood Avenue
> Decatur, Georgia 30030
>
> 404.538.1642
> dtalc...@mindspring.com
>
>
>
>
>
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
David Hunter

www.davidhunterdesign.com
+44 (0) 7869 104 906
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to