Announcement

Collapse
No announcement yet.

How do I code mvt:if to test the value that's in mvte:global:category_code ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How do I code mvt:if to test the value that's in mvte:global:category_code ?

    Question from a Miva newbie.

    I'm trying to test for a specific category code. When I display &mvte:global:category_code; I can see the code. I've tried various guesses for the expr syntax but nothing has worked so far - i'm always taking the else path even when the contents of mvte:global: category_code is equal to what I testing for.

    Any help would be appreciated.

    Rick Solomon
    Hesperian Health Guides

    #2
    Re: How do I code mvt:if to test the value that's in mvte:global:category_code ?

    Try testing g.category_code instead.

    Comment


      #3
      Re: How do I code mvt:if to test the value that's in mvte:global:category_code ?

      Thanks! This works.

      Rick


      Originally posted by nottheusual1 View Post
      Try testing g.category_code instead.

      Comment

      Working...
      X