Results 1 to 3 of 3
  1. #1
    Join Date
    April 20th, 2009
    2 conditions in 1 WM tag
    I want to check 2 places at my database when i'm using WM

    I want to check 1 field to use equals and another field to check "not equals"


    [WM-If: Field: XXX = aaa AND Field:YYY <> = bbb]
    Compile here

    if XXX field is aaa AND YYY field is bbb, then do the condition.

    How can we do this statement in Webmerge?

  2. #2
    Join Date
    April 20th, 2009
    sorry,at the end i wrote wrong

    it should be

    if XXX field is aaa AND YYY field is not bbb, then do the condition.

  3. #3
    Affiliate Manager
    Join Date
    January 18th, 2005
    Los Angeles, California
    Use parentheses to denote each condition, as in this example from the WebMerge Help page on the WM-If tag:

    [WM-If: (Field: Age < 18) OR (Field: Age > 65)]
    You qualify for a discount
    The standard price applies
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site

  4. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Can I put a fied tag in an include tag???
    By Doug247 in forum WebMerge (
    Replies: 1
    Last Post: August 11th, 2003, 08:29 AM
  2. Script Tag or HTML tag?
    By bsnrjones in forum Scripts
    Replies: 1
    Last Post: February 1st, 2003, 06:12 PM
  3. Smart Tag Meta Tag Not Working?
    By gettnthar in forum Suspicious Activity!
    Replies: 5
    Last Post: January 29th, 2002, 05:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts