Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Highlight Invalid Select Option Value

Former Member
0 Likes
729

Hi,

I have a select option that I am validating a value for. If one of the values is incorrect I set the cursor to that field and send and error message. Is there a way to also highlight the incorrect value?

Dawn

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
614

Incorrect values will be set to RED color by default ....

3 REPLIES 3
Read only

Former Member
0 Likes
615

Incorrect values will be set to RED color by default ....

Read only

Former Member
0 Likes
614

U can give the invalid values with the message itself

Read only

Former Member
0 Likes
614

Not easily - if you send an error message, the program returns directly to the selection screen.

You could change all the error messages to success messages and then AT SELECTION-SCREEN OUTPUT, you can loop at the screen and set the screen attributes of the fields in error. But you would also have to add special logic to stop processing and return to the selection screen if an error is found.

Rob