Hi All,
I'm using custom list power apps and having single form. I have two buttons ( Named PLM and Non PLM )in my form for showing like tabbed view.
By Default in new item screen, I want select the PLM tab. I have formula On Select of button event like Set(varFormTab, btnBasicTab.Text) and Set(varFormTab, btnBasicTab1.Text). Please find the attached images.
Also I have another string feild (PLMorNonPLM) to storing the selected form is whether PLM or Non PLM. Having formula like on Text like if(varFormTab=btnBasicTab.Text, "PLM" , "Non PLM"), So when I submit the form this string field will capture the variable value.
SO when I edit the form based on this PLMorNonPLM value I need to enable the tab. Please let me know how to enable the tab based on.
I tried formScreen onVisible event like
If(IsBlank(PLMorNonPLM), Set(varFormTab,"PLM"),Set(varFormTab,PLMorNonPLM.Text) but PLMorNonPLM.Text is always null in OnVisible event.
Solved! Go to Solution.
Hi @azeesdinu ,
Do you want to display different forms according to your cliking on which tab?
I‘ve made a similar test for your reference:
1)insert two forms, two buttons
2)Set button1's OnSelect: Set(test,"a")
Set button2's OnSelect: Set(test,"b")
Set the screen's OnVisible: Set(test,"a")
3)Set form1's Visible: If(test="a",true,false)
Set form2's Visible: If(test="b",true,false)
Then, if you click on button1, form1 will display, click on button2, form2 will display.
Best regards,
Community Support Team _ Phoebe Liu
Hi @azeesdinu ,
Do you want to display different forms according to your cliking on which tab?
I‘ve made a similar test for your reference:
1)insert two forms, two buttons
2)Set button1's OnSelect: Set(test,"a")
Set button2's OnSelect: Set(test,"b")
Set the screen's OnVisible: Set(test,"a")
3)Set form1's Visible: If(test="a",true,false)
Set form2's Visible: If(test="b",true,false)
Then, if you click on button1, form1 will display, click on button2, form2 will display.
Best regards,
Community Support Team _ Phoebe Liu
I am using this same setup 2 buttons, 2 forms, I have gotten it to a point where i can view each form based on the selected button. However regardless of which form I select I cannot ever save. I don't receive an error and there are no required fields in either the list settings or the powerapps advanced settings.
Does anyone have any thoughts?
User | Count |
---|---|
253 | |
125 | |
106 | |
50 | |
49 |