Results 1 to 4 of 4
  1. #1
    ABW Ambassador
    Join Date
    January 18th, 2005
    Posts
    509
    [WM-If: (Value Operator Value) AND
    ok...I've been messing with this and I just can't get it to work right...

    I get nothing even when both fields contain data...
    I've got:
    [WM-IF (FIELD: D = "") OR (FIELD: S = "")]
    #1 if only one is empty print this
    [/WM-IF]

    [WM-IF (FIELD: D = "") AND (FIELD: S <> "")]
    #2 if d is empty AND s is not empty print this

    [WM-IF (FIELD: D <> "") AND (FIELD: S = "")]
    #3 if d is not empty AND s is empty print this

    the only line that works is:
    [WM-IF (FIELD: D <> "") AND (FIELD: S <> "")]
    #4 if both are not empty print this
    [/WM-IF]

    #4 works even when d is empty .... when #1 or #2 should have worked... I have checked all of the obvious, there are no extra spaces in the command lines or field data... field names are spelled correctly... tags are nested properly...

    Thanks for any input,
    Judy

  2. #2
    Member MarkJH's Avatar
    Join Date
    January 18th, 2005
    Posts
    68
    Have you tried

    [WM-IF: (FIELD: D = "") OR (FIELD: S = "")]
    #1 if only one is empty print this
    [/WM-IF]

    with the colon after the WM-IF to see if that works?

  3. #3
    ABW Ambassador
    Join Date
    January 18th, 2005
    Posts
    509
    *sigh*.... exhaustion had set in... thank you for opening my eyes!...


    Judy

  4. #4
    Member MarkJH's Avatar
    Join Date
    January 18th, 2005
    Posts
    68
    You're welcome

  5. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. [Deleted] Looking to hire an affiliate manager / operator
    By backlinks in forum Midnight Cafe'
    Replies: 0
    Last Post: October 5th, 2009, 03:27 PM
  2. 911 Operator Puts Caller on Hold; Disabled woman Dies in Fire
    By Eric Ewe in forum Virtual Family and Off-Topic
    Replies: 6
    Last Post: February 14th, 2008, 10:26 PM
  3. Question about the "mod" operator
    By nonamer in forum WebMerge (Fourthworld.com)
    Replies: 3
    Last Post: June 28th, 2006, 09:08 PM
  4. Japan Internet Mall operator posts record sales
    By darkstar7 in forum Newbie Affiliate FAQs & Helpful Articles
    Replies: 0
    Last Post: February 20th, 2004, 03: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
  •