We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5811
    • 1,717 Posts
    With
    liveSearch=1
    when I write:

    [[+liveSearch:isnot=`1`:then=`Search`]]
    I get 'Search'

    and with

    [[+liveSearch:isnot=`1`:then=`Search`:else=``]]
    I get '' (empty string)

    is the else statement mandatory with then ?

    If the else part is not present, like with first code line, the result is false.
    Is it a normal behaviour or a bug ? [ed. note: coroico last edited this post 12 years, 3 months ago.]