Condition Error

  • My Code
    {{#if ROWS_NO = 1}}


    My Data
    Show Error

    Pls. help me

  • administrators

    hi! {{#if ROWS_NO = 1}} conditions like this don't work in handlebars, you need to put a helper there that returns true or false like this {{if (someHelper ROWS_NO)}}

    function someHelper (value) {
      return value === 1

Log in to reply

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.