Skip to Content

Validating fields - error - List Report + Object Page

Nov 30, 2017 at 08:40 PM


avatar image
Former Member

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?


create.png (55.3 kB)
table.png (48.4 kB)
1.png (49.0 kB)
2.png (46.9 kB)
3.png (119.8 kB)
ultima.png (136.1 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Arjun Biswas Dec 01, 2017 at 06:55 AM

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.


10 |10000 characters needed characters left characters exceeded