Doing a simple edit grid of a single table that contains multiple fields with user ID's. On
Add and Edit, I am validating the user ID against qsys2.user_info.
However, I'd like to highlight the field that's in error instead of just issuing an error with SetError() and a message.
Is that possible w/out much work?
I'm trying to use
SetResponse('success':'false');
SetResponse('formFieldError':'CREDIT_MGR':'Invalid IBM i User ID ' + userID);
The error box comes up empty with an "OK" button.
It works if I use SendError() with a customized message - just thought it would be nice to go "indicate" the form field for the user.
Add and Edit, I am validating the user ID against qsys2.user_info.
However, I'd like to highlight the field that's in error instead of just issuing an error with SetError() and a message.
Is that possible w/out much work?
I'm trying to use
SetResponse('success':'false');
SetResponse('formFieldError':'CREDIT_MGR':'Invalid IBM i User ID ' + userID);
The error box comes up empty with an "OK" button.
It works if I use SendError() with a customized message - just thought it would be nice to go "indicate" the form field for the user.
Comment