SOLVED

Yes/No Button value change

%3CLINGO-SUB%20id%3D%22lingo-sub-2596603%22%20slang%3D%22en-US%22%3EYes%2FNo%20Button%20value%20change%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2596603%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Guys%2C%3C%2FP%3E%3CP%3EI%20am%20working%20with%20SharePoint%20Online%20and%20using%20PowerApps%20to%20set%20some%20rules.%20On%20my%20form%20I%20have%203%20Yes%2FNo%20buttons%20and%20I%20need%20just%20one%20of%20them%20should%20be%20'Yes'%20and%20rest%202%20should%20be%20'No'.%3C%2FP%3E%3CP%3EAt%20the%20beginning%20all%20should%20be%20by%20default%20'No'%20(Which%20they%20are)%20but%20I%20would%20like%20to%20create%20scenario%20like%20this%20if%20I%20select%20first%20option%20Yes%20then%20remaining%20should%20be%20No%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22abhikhopade2109_1-1627684907968.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F299618i080E14E1A854BA36%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22abhikhopade2109_1-1627684907968.png%22%20alt%3D%22abhikhopade2109_1-1627684907968.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20Advance%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2596603%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2597560%22%20slang%3D%22en-US%22%3ERe%3A%20Yes%2FNo%20Button%20value%20change%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2597560%22%20slang%3D%22en-US%22%3EThen%20you%20must%20have%20made%20a%20mistake%20somewhere%20but%20you've%20not%20provided%20any%20screenshots%20so%20I%20can't%20tell%20what%20you've%20done.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2597349%22%20slang%3D%22en-US%22%3ERe%3A%20Yes%2FNo%20Button%20value%20change%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2597349%22%20slang%3D%22en-US%22%3EHi%20Rob%2C%3CBR%20%2F%3ESorry%20to%20get%20back%20to%20you%20again%2C%20Its%20working%20for%20just%202%20buttons%20but%203rd%20one%20is%20giving%20me%20error%20about%20Circular%20reference.%3CBR%20%2F%3E%3CBR%20%2F%3ERegards%2C%3CBR%20%2F%3EAbhijeet%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2597244%22%20slang%3D%22en-US%22%3ERe%3A%20Yes%2FNo%20Button%20value%20change%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2597244%22%20slang%3D%22en-US%22%3EThank%20you%20very%20much%20RobElliot.%20You%20saved%20my%20day.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2597105%22%20slang%3D%22en-US%22%3ERe%3A%20Yes%2FNo%20Button%20value%20change%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2597105%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F643166%22%20target%3D%22_blank%22%3E%40abhikhopade2109%3C%2FA%3E%26nbsp%3BIf%20your%20toggle%20buttons%20are%20called%20Toggle1%2C%20Toggle2%20and%20Toggle3%20for%20example%20then%20in%20the%20Default%20property%20setting%20for%20Toggle2%20and%20Toggle3%20you%20just%20need%20an%20if%20statement%3A%20%3CSTRONG%3EIf(Toggle1.Value%3Dtrue%2C%20false%2Cfalse)%3C%2FSTRONG%3E.%26nbsp%3BThat%20sets%20Toggle2%20and%20Toggle3%20to%20No%20if%20the%20Toggle1%20is%20Yes%20but%20otherwise%20keeps%20them%20at%20No.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22toggle23.png%22%20style%3D%22width%3A%20894px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F299718i2DE947E66E2ADD9B%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22toggle23.png%22%20alt%3D%22toggle23.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERob%3CBR%20%2F%3ELos%20Gallardos%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%20color%3D%22%23006400%22%3EIntranet%2C%20SharePoint%20and%20Power%20Platform%20Manager%20(and%20classic%201967%20Morris%20Traveller%20driver)%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi Guys,

I am working with SharePoint Online and using PowerApps to set some rules. On my form I have 3 Yes/No buttons and I need just one of them should be 'Yes' and rest 2 should be 'No'.

At the beginning all should be by default 'No' (Which they are) but I would like to create scenario like this if I select first option Yes then remaining should be No

abhikhopade2109_1-1627684907968.png

 

Thanks in Advance

 

 

 

4 Replies
best response confirmed by abhikhopade2109 (Occasional Contributor)
Solution

@abhikhopade2109 If your toggle buttons are called Toggle1, Toggle2 and Toggle3 for example then in the Default property setting for Toggle2 and Toggle3 you just need an if statement: If(Toggle1.Value=true, false,false). That sets Toggle2 and Toggle3 to No if the Toggle1 is Yes but otherwise keeps them at No.

 

toggle23.png

 

 

Rob
Los Gallardos
Intranet, SharePoint and Power Platform Manager (and classic 1967 Morris Traveller driver)

Thank you very much RobElliot. You saved my day.
Hi Rob,
Sorry to get back to you again, Its working for just 2 buttons but 3rd one is giving me error about Circular reference.

Regards,
Abhijeet
Then you must have made a mistake somewhere but you've not provided any screenshots so I can't tell what you've done.