on 09-04-2012 7:02 PM
Hi All,
I created Multipane UI Element and with couple of Input fields inside multipane,and increasing pane count when i am trying to do validation like based on radio button some fields should become enable or disable.
The above validations are working only for First instance (pane count 1).
Can any tell me how to do validation on 2nd or 3rd instance.
Regards,
Ashok.
Check the enable property of the input field and the attribute ( the input field is binded with )
Thanks
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhishek,
I created Multipane UI Element inside that 3 fields
1. Radio Button.
2. Input Field.
3. Input Field.
Based on radio button 2nd input field should be enable(If yes Enable),and I am increasing pane count dynamically so that i got 4 instances.
I need how to bind 4 attributes for 4 instances.
Regards,
Ashok.
instead of creating pane dynamically you can create it staticly
and you can handle visibility of pane depending on condition
In this way you would have to bind the visibility property of pane to attribute type WDUI_VISIBILITY
now create separate attribute to handle enability of inputfield ( one for each pane ) , bind coresponding inputfield's enable property to that attribute
now handle the enabillity, depending on your condition.
[If max number of pane is 4 , then you can solve your problem as expalined above]
Thanks
Abhi
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.