on 11-30-2017 8:40 PM
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!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.