Jump to content

I need help to show none type


Rayed

Recommended Posts

Hello,

 

I am trying to apply a rule with a template that uses two type of background photos. One with just one photo and box with variable community names and one with two photos but when it is selected should not show any variable community names.

 

I keep getting a syntax error "invalid assignment left-hand side" on the first line in front of the "if".

 

Here is the rule that I have applied for just one image for now:

 

if (Field("BlueHomeStagingFront") = "BlueStagingTwoPhotos.jpg")

 

return ""

 

else

 

return "First, you'll learn how to accessorize and rearrange your home to help sell faster and for more money. Then, explore the different finance options available for purchasing your new home at"

 

(or (Field("CommunityNY")))

 

I also tried returning a rule instead of a Field because that is what I need to be returned in the small box. But I get the same error. Here is that rule:

 

if (Field("BlueHomeStagingFront") = "BlueModelTwoPhotos.jpg")

 

return ""

 

else

 

return "First, you'll learn how to accessorize and rearrange your home to help sell faster and for more money. Then, explore the different finance options available for purchasing your new home at"

 

(or (Rule("rule_communityNY_Name")))

 

Is there something easy I am missing, or does this need more work?

Thank you,

Rayed

CSA Graphics

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...