My huge conditional statement causing errors!

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 :frowning: I cannot see the problem


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