Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add extra option?
Message
 
 
À
18/09/2014 13:06:41
Information générale
Forum:
Javascript
Catégorie:
Autre
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01607633
Message ID:
01607833
Vues:
45
>>One is ItemTreeRequired and another is Location Key required. So, when I select Mode which required Item Tree selection I need to make sure that something is selected in the ItemTree drop down (and it's not that 'Select ...' option). If the location Key required, I need to generate a key as well.
>>
>>So, that's what I am supposed to program. I am not yet having an idea of how exactly.
>
>I suppose a directive on the itemTree select would be possible - but a bit complicated since it's action would depend on the ItemTreeRequired property of the selected item in the first dropdown.
>
>Probably simplest to watch for changes on the first select and dynamically add or remove the 'Select Item Tree' option as required - basically using a variation of the javascript I posted ?

Hi Viv,

I don't want to dynamically add or remove option. I want this option to always be there, but somehow make sure that another option is selected when it's required. I don't think we need a directive, I think we can go with a form's code.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform