Skip to Content
avatar image
Former Member

Validating fields - error - List Report + Object Page

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!

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 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.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded