# My huge conditional statement causing errors!

**URL:** <https://forum.kirupa.com/t/my-huge-conditional-statement-causing-errors/54658>\
**Category:** flash\
**Created:** [June 16, 2004, 3:10pm UTC](https://forum.kirupa.com/t/my-huge-conditional-statement-causing-errors/54658 "2004-06-16T15:10:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mindfriction](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mindfriction/32/172_2.png) [@mindfriction](https://forum.kirupa.com/u/mindfriction)\
**Post date:** [June 16, 2004, 3:10pm UTC](https://forum.kirupa.com/t/my-huge-conditional-statement-causing-errors/54658/1 "2004-06-16T15:10:18Z")

</div>

FMX  
Hi guys and girls,

I have a conditional statement for a form i have created and its absolutely HUGE (see below). It’s so big it extends more than 1 line in the Actions code area and because of this its causing errors…mainly this one

> Symbol=registerClip, Layer=actions, Frame=1: Line 43: Left side of assignment operator must be variable or property.

Here’s my statement, can u see any problems? Im going bug eyed ☹ I cannot see the problem

```auto

if((first_name==undefined || first_name.trim()=="") || (last_name==undefined || last_name.trim()=="") || (street==undefined || street.trim()=="") || (suburb==undefined || suburb.trim()=="") || (postcode==undefined || postcode.trim()=="") || (state==undefined || state.trim()=="") || (country==undefined || country.trim()=="") || (area_code==undefined || area_code.trim()=="") ||(business_ph==undefined || business_ph.trim()="") || (title==undefined || title.trim()=="") || (company==undefined || company.trim()=="") || (email_address1==undefined || email_address1.trim()=="") || (email_address2==undefined || email_address2.trim()=="")){

```

Thanks in advance
