I hope someone could point me in the right direction for this:
In my app I have a Radio Button "Radio1" it has a hard core items " ["North","South","East","West"]
My edit form is connected with my SharePoint List and in that list I have a text field "Zone"
Basically in my app when the user select a customer form my collection the rest of the fields show the values for that customer.
What I can't do is:
I would like to see in my Radio1 the default values in my column Zone. When the form is in view/edit mode. when the form is in New Mode the Radio should be empty.
thanks in advance for any help.
Have you tried toggling a global variable depending on the mode of your form, and then using that with an If statement in the radio button's Default property?
Hi @BCLS776. I think that the if statement could work but I don't know how to elaborate. I have tried but the Radio is complaining because is expecting a table value
Ah, the Default property of the radio control doesn't like an If statement within it. Here's how to get around that:
With your radio control set up with four choices, (North, South, East, West), add a simple text box and assign its value to the Default field of the radio control:
Then set the Text field for the text box using an If statement:
In my test example, I use a simple toggle switch to change the condition for the If statement, but you can use a global variable that you Set to true or false depending on your form's mode. "North" in this example can be replaced by any text entry, such as the one from an existing record field.
Toggling the variable that controls the text box produces two states for the radio control:
Will that work for your situation?
The Super User program for 2022 - Season 2 has kicked off!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.