Skip to Content
0
Former Member
Dec 15, 2012 at 04:30 AM

I need to add a validation for a Particular value in Drop down Key.

26 Views

1)

Requirement :

If user has selected a particular value then a pop-up should be initiated.

Ex : APPLE, ORANGE, GRAPE

I have wriiten the code to initiate pop-up message but i need to restrict for a particluar/ specific value.

Ex : Pop-up should be initiated only if User selects "APPLE".

2)

Is there a way that we can write a validation,

Ex : IF last value in a given input is numeric it should raise an error mesage?

Ex : CHAT - Is the correct way

CHA1 - This value should be validated saying that 'It is inavled value, kindly select correct value.'

In a given input if the last value is numeric then it should display an error message.

How can i write the IF conditions for the above two scenarios.

I am using NWDS 7.0

Any suggestions will be appreciated!

Thank you!

Best Regards,

KC