Skip to main content
New Participant
Mar 18, 2021 4:11 AM UTC
Question

Facing an Error

This Error is coming while adding Validations to the date and time in Maintenance Information

    10 replies

    stefanhelzle0001
    Brainy
    Mar 18, 2021 7:12 AM UTC

    Add quotes to the string in line 3

    shivanid0002
    New Participant
    Apr 14, 2021 7:07 AM UTC

    Hii Naga Ravi Krishna Tippa, The error you are facing is for you are missing the quotes in line number 3. please try with providing the string quotes.

    ayushg0003
    Participating Frequently
    Apr 15, 2021 6:43 AM UTC

    Hii Naga Ravi krishna Tippa, the error you are facing is missing the quotes in line 3 use like this way "Please Enter a date & time in future " 

    shivanid0002
    New Participant
    Apr 21, 2021 8:27 AM UTC

    Naga Ravi Krishna Tippa, is your problem is solved?

    dastagirid0003
    New Participant
    Apr 21, 2021 4:56 PM UTC

    Third parameter should be enclosed in the quotes like "Please enter a date and time in future".

    Reason for the problem, if() accepts only three parameter viz., condition, trueStatement, falseStatement. In your statement falseStatement did not enclosed in the quotes. So the syntax verifier throwing error.

    Participating Frequently
    May 7, 2021 12:09 PM UTC

    The 3rd param of If() function should be enclosed in the quotes like "Please enter a date and time in future".

    stefanhelzle0001
    Brainy
    May 7, 2021 12:37 PM UTC

    [mention:56edcbe38ce04e61a88e7da8d07a6a20:e9ed411860ed4f2ba0265705b8793d05] Do you think it adds value to repeat the answer a fifth time?

    mikes0011
    Brainy
    May 7, 2021 1:40 PM UTC

    (I had to bite my tongue (figuratively) a few weeks ago to keep myself from submitting a new comment along the lines of, "since nobody seems to have mentioned it so far, you should add quotes...")

    The Expression Guru