• I have a text field with value “011”

    That is evaluated by: new RegExp(/^([0-9]{3})$/).test($$field_rnField90$$) == false
    i.e. = this field should be invalid when the value doesn’t match the regex test

    The value “011” returns false in smartforms, but returns true in a plain javascript file on my local machine.

    The value “111” returns true as expected.

    Therefore, smartforms is not evaluating this regex properly, as it seems to be dropping leading zeros, despite being a text field.

    Please advise.

  • The topic ‘Conditional Logic Formula’ is closed to new replies.