[Super Placeholder] Invalid Expression : Unexpected "Input_DueDate" in expression

[Super Placeholder] Invalid Expression : Unexpected "Input_DueDate" in expression

  
Forge Component
(7)
Published on 21 Oct by Justin Babel
7 votes
Published on 21 Oct by Justin Babel

Hi Justin,
I cannot publish because of some TrueChange errors, and don't know how to correct them. 
I am doing the Input Validation Exercise of "Developing Outsystems Mobile Apps". (beginner)

The errors are : 
1. Invalid Expression : Unexpected 'Input_DueDate' in expression, also : 
2. Invalid Variable : Unknown variable in assign 


These errors appeared as soon as I completed Part 1 : Form Validations, instructions 1(a) to 1(h) of the exercise 

Please help??

Hello Willem,

You have to put False in the input valid propertie and define an error message in input ValidationMessage.

I attach the problem solved.

Cheers,

Ana Leal

Hi Ana,

Thanks a lot ! You are really kind.

Let me have a look at it.

I appreciate your help

Regards

willem

Hi Ana,

Thanks - it works.

I will go back and look at the changes you made.

Thank you so much 

Willem Norval wrote:

Hi Ana,

Thanks - it works.

I will go back and look at the changes you made.

Thank you so much 

Nice :)


Cheers,

Ana Leal


Hi Ana, 

I am at the end of  Input Validation Exercise and followed the instructions to the t, but get this error : "Expecting an Expression instead of end of line." The expression was done exactly as instructed . . . 

Please help

Hi Willem,

what do you want validate is the id of record from input variable ToDoInput, do you understand?

Try this, ToDoInput.Id <> NullIdentifier(), what is the data type of variable ToDoInput?


I hope it was helpful,

Ana Leal


Hi Ana,

The data type of ToDoInput is ToDo.

I still get the same error   

Willem Norval wrote:

Hi Ana,

The data type of ToDoInput is ToDo.

I still get the same error   

You can give me the oml, for I can see better?

Tks,

Ana Leal






Sorry Willem i didn't notice that you already attach the oml.

The problem is you have a space in operator "< >" remove the space, use only "<>"


I hope it was helpful,

Ana Leal