We recommend switching to the latest versions of Edge, Firefox, Chrome or Safari. Using Internet Explorer will result in a loss of website functionality.

Blank property possible?

Comments

4 comments

  • Avatar
    Gerry Mullin

    If you put an = after the parameter name but still inside the brackets it will take that value as the default when the parameter has not been given any value.

    e.g.

    FN="{{^FolderName=MyDefaultValue^}}"

    1
    Comment actions Permalink
  • Avatar
    Geoff

    AWESOME! SO I dont even need the IF

     

    FN="{{^FolderName="+FLD+"^}}"

     

    is perfect!

    0
    Comment actions Permalink
  • Avatar
    Gerry Mullin

    A couple of things. I noticed yesterday you had an extra ^ in the parameter value (3 rather than 2). I think with 3 it will only take the default value so make sure it is like this (no quotes also):

    {{^FolderName=+FLD+^}}

    Another thing I have noticed if you enter a parameter value you seem to have to hit Enter on your keyboard to make it stick. If in doubt refresh the browser page too. I'm going to test my theory on having to hit enter and raise as a potential bug if it seems appropriate. Have a look at the screenshots attached.

     

    Attached files

    Parameter_Value.png
    Parameter_Output.png
    Parameter_Default.png

     

    0
    Comment actions Permalink
  • Avatar
    Geoff

    Sorry Gerry! I just noticed my mistake, deleted that post lol  (yes I did catch the other ^ too)

    I was setting FN, but the code following was using FLD so it was never picking up the FN value :) lol

    soooo ignore me.. I need more coffee!

     

    THANK YOU!

    0
    Comment actions Permalink

Please sign in to leave a comment.