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

Validating all select-options at once

Former Member
0 Likes
398

Hi All,

I have 3 fields in select options. If all the three empty, then I should give a message that atleast one should be filled. How can I validate all the three fields at a time? Please explain.

Thank you in Advance,

Sekhar

Hi All,

I have 3 fields in select options. If all the three empty, then I should give a message that atleast one should be filled. How can I validate all the three fields at a time? Please explain.

Thank you in Advance,

Sekhar

2 REPLIES 2
Read only

former_member195698
Active Contributor
0 Likes
382

if so_1[] is initial and so_2[] is initial and so_3[] is initial.

give error message

endif

where so_1, so_2, so_3 are your select options and the code is to be written in the at selection-screen event.

Read only

Former Member
0 Likes
382

Hi Chandra,

In the "At Selection-Screen" Event check if <b>all</b> the fields are initial then raise an error message requesting for atleast data in one field.

Regards,

George