# Variable conflict

**URL:** <https://forum.kirupa.com/t/variable-conflict/290024>\
**Category:** Uncategorized\
**Created:** [June 8, 2009, 7:44pm UTC](https://forum.kirupa.com/t/variable-conflict/290024 "2009-06-08T19:44:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![beertje](https://avatars.discourse-cdn.com/v4/letter/b/7ea924/32.png) [@beertje](https://forum.kirupa.com/u/beertje)\
**Post date:** [June 8, 2009, 7:44pm UTC](https://forum.kirupa.com/t/variable-conflict/290024/1 "2009-06-08T19:44:27Z")

</div>

In Flash CS4 I created these input fields, all were assigned a variable, but when I play the movie, I get the followint error message:

Left side of assignment operator must be variable or property.

This is the script I am using. Can you please advise what I am doing wrong?

function formcheck () {  
validate ();  
trace(a);  
if (q1 = “” or q2 = “” or q3 = “” or q4 = “” or q5 = “” or fname = “” or telno eq “” or comments eq “” or from eq “”) {  
stop();  
error = “You have left blank fields, please fill in all fields, thank you”;  
} else {  
emailcheck ();  
}  
}  
Thanks in advance,  
George Carlile
