cancel
Showing results for 
Search instead for 
Did you mean: 

Dropdown by key mandatory field ?

Former Member
0 Kudos

Hi Gurus,

I have created the webdynpro application which has 3 UI mandatory elements (2 dropdown by index and 1 drop by key).

the above said fields are mandatory and user has to give some inputs for this then only application has to allow them to proceed further.

But in my application 2 dropdown by index(mandatory) field are working fine means if users slips without providing any inputs it is not proceeding further.

but other field which is dropdown by key which is again the mandatory field but it allowing the user if they down provide any inputs there?

any clues to overcome this issue must be appreciated.

Thanks in Advance,

Dharani

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Set the default value in the dropdown.

On validate action check if the current selected value of the dropdown is the default one.

if its default value then stop the navigation with a message.

Regards

Deepak

Former Member
0 Kudos

Hi...

Validation should work for dropdownby key..may be there is some mistake in your coding

Or

Set the default value for your dropdown remove the blank option from it....

Former Member
0 Kudos

Hi Akshaya ,

How to remove the blank entry ?

If you have code for that Please provide that.............

Thanks in Advance,

Dharani

Former Member
0 Kudos

Hi,

To remove the blank entry set the cardinality to 0:n

Regards,

Sudhir

Edited by: Sudhir Gorantla on Mar 11, 2008 12:43 PM

Former Member
0 Kudos

Hi,

If u want remove the space....

set in ur context node-->properties

cardinality--->0...n

selection---->1..1

Regards,

P.Manivannan

Former Member
0 Kudos

Hi,

Create a validating action for the drop down by key.

Regards

Ayyapparaj

Former Member
0 Kudos

Hi Aiyapparaj,

I have done that it doesn't work?

any other clues?

Thanks in Advance,

Dharani