- This topic is empty.
- 06/16/2012 at 1:21 am #4103
I have a requirment , where i have to hide and unHide Tab based on the value from the drop down.
for example , i have three tab in the Qform Tab1,Tab2,Tab3
Column name category drop down field : 1. personal , 2. official, 3. other
If i choose the value Official from the drop down , I want to see only Tab1 , rest of the Tab2 & Tab3 will be hidden.
Awaiting for the replay at the earliest 🙂
- 06/16/2012 at 1:21 am #5214
- 06/16/2012 at 4:47 am #5213
You can achieve this using Form Component Behavior.
I have defined 2 tabs
<Container Type="Tab" ID="Tab1" Label="Tab1" />
<Container Type="Tab" ID="Tab2" Label="Tab2" />
and placed some fields on both tabs. On Tab1 I have a lookup field called CountryID2 and I set the Form Component Behavior condition to hide Tab2 when the value selected is US
<Component Type="Container" ID="Tab2">
<FieldRef Name="CountryID2" />
This will hide the content of the tab2 when the value selected is equal to US.
Please don't forget to check the Auto Postback property of the CountryID2 field.
For more details please consult our documentation related to Form Component Behavior.(qListForm->Form component Behavior Section).
You must be logged in to reply to this topic.