cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Radio buttons not selecting options as default

Hi all,

 

I'm wanting my radio button to not select Yes or No during the rendering of my form, trying to achieve the view below:unselected.PNG

 

 

 

 

 

 

 

 

 

 

 

My defuault code is:

 If(Parent.Default, "Yes", "No")

Can this be done or does it have to have a value?

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: Radio buttons not selecting options as default

This is how I solved the problem:

 

If(<FormNameHere>.Mode = FormMode.New," ", If(Parent.Default, "Yes", "No"))

 

What this code does, it will make sure your New form is set to nothing (" ") but it's on edit mode it will show the details of what is saved on the list ( If(Parent.Default, "Yes", "No") )

View solution in original post

2 REPLIES 2
Microsoft Employee

Re: Radio buttons not selecting options as default

Just so I understand, despite the fact that Parent.Default is indeed true or false, you would prefer your Radio button to not set any values, right? If so then setting the RadioButton.Default="" should achieve this. The user will have to provide a value.

Anonymous
Not applicable

Re: Radio buttons not selecting options as default

This is how I solved the problem:

 

If(<FormNameHere>.Mode = FormMode.New," ", If(Parent.Default, "Yes", "No"))

 

What this code does, it will make sure your New form is set to nothing (" ") but it's on edit mode it will show the details of what is saved on the list ( If(Parent.Default, "Yes", "No") )

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 266 members 6,580 guests
Please welcome our newest community members: