cancel
Showing results for 
Search instead for 
Did you mean: 

dropdown validation

Former Member
0 Kudos

Hi Gurus,

I have to validate that user must select a value from dropdown other wise he will get a custom error message.

As I have to shaow custom message I cant use check_mandatory_attribute_on_view method.

I am able to show the message using report_attribute errormessage but the dropdown is not marked with red.

Please help me if any one faced this problem.

Thanks,

Prosun

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

Please check whether ui elemnt propety 'state' of ur dropdown is change to required.Also check whehther correct if_wd_context_element reference is passed to method report_attribute_error_message.