cancel
Showing results for 
Search instead for 
Did you mean: 

Dumb freemaker script question [Solved]

michaelc
Champ on-the-rise
Champ on-the-rise
Seem to be having issues with this simple item
I just want to create an if value statement

   if a = b
       …..
Like this but I don't get it right.
   any ideas or help

<#if $args["siteName"] = 'Welcome'>
  and enter the following information:
  ……..

We strongly advise you to change your password when you log in for the first time.
          http://$args['server']/share/page/user/${args['inviteeUserName']}/change-password
</#if>
1 REPLY 1

michaelc
Champ on-the-rise
Champ on-the-rise
this works
<#if args["siteName"] = "Welcome">

Seem to be having issues with this simple item
I just want to create an if value statement

   if a = b
       …..
Like this but I don't get it right.
   any ideas or help

<#if $args["siteName"] = 'Welcome'>
  and enter the following information:
  ……..

We strongly advise you to change your password when you log in for the first time.
          http://$args['server']/share/page/user/${args['inviteeUserName']}/change-password
</#if>