Webmastersite.net
Register Log In

Conditionals Syntax Question

Title Conditionals Syntax Question
Description how to specify empty text string?
Message Text Hi, I'm trying to create a condition where it checks if the text string variable is empty, like this: <IF {MYCUSTOMVAR} is emptystring> <img src="templates/default/images/image1.png" <OTHERWISE> <img src="templates/default/images/{MYCUSTOMVAR}.png" </IF> So, if there is nothing in the custom text field (empty text string) it displays image1.png. Otherwise - it displays file specified in the custom text field. What is the proper syntax for this like: <IF {MYCUSTOMVAR} is emptystring> (what to put insead of emptystring)? Thanks!
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership michael_d
Views 438 views. Averaging 0 views per day.
Similar Topics
Submission Date Jul 15, 2006 - 2:42 AM