cancel
Showing results for 
Search instead for 
Did you mean: 

Validating fields - error - List Report + Object Page

Former Member
0 Kudos

I'm having trouble with the validation of some smartfields... These fields in the backend are set to not be nullable.

I created the whole project using annotations and ext.control trough the List Report template and I'm using SAP Web IDE. Everything is almost done, I'm just having some difficulties to validate the smartfields.

This first picture shows some smartfields that are with nullable set to false. But I still can save it and nothing happens...

Here is the table...

Although... I find out something very interesting... If I type something in those fields, press enter and clear the field... it validates it before I save it...

See images below

Typed 1 and pressed Enter (title changed to 1).

Cleared the field but not pressed Enter or Save.

If I press enter or Save... it validates... it does exactly the same for any other field... I tried it all fields at once and one by one... it validates only this way... add something, press Enter, clear it and save... that's the only way to validate it...

Help! How can I validate it without having to go through all this?

Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member484715
Contributor
0 Kudos

Hi Andrew,

You have a property liveChange for input field, on live Change, you can call an function in your controller write your validation logic.

Regards.