Is there a way to set the default value of a drop down menu to the selected value of a radio button?
I tried RadioButton1.Selected.Value but it gives me the "expecting table" error.
I tried RadioButton1.SelectedText.... same result.
Check these screenshots (I set the default property of the dropdown to Radio1.Selected.Value)
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!
Hardit(Haman)
Makes sense. The only other question I have is how are you populating the dropdown (items property) and the radio button(items property)? That should help me give you a final answer.
Hi @modernoddity ,
What is the data source of this edit form control? And is this dropdown control a choice column for SharePoint list? If so, please use below formula in the DefaultSelectedItems property of the dropdown control instead:
{
Value: NU_Computer.Selected.Value,
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference"}
Regards,
Mona
I added that to the Default section (DefaultSelectedItems is not an option for this drop down) and I'm no longer getting an error but it's also not changing when the radio button selection changes.
The drop down is inside an edit form and the data source is a Sharepoint list.
The items property of the drop down is a sharepoint choice column. The drop down itself is inside an edit form.
The same sharepoint choice column populates the radio button selection options.
Hi @modernoddity ,
Is this dropdown control a choice column for SharePoint list? What is Items property for this dropdown control?
Regards,
Mona
Yes, the drop down is a choice column in Sharepoint list.
The drop down is in an edit form and the items property is: Choices('Config Sheet'.Computer)
The radio button items property is also: Choices('Config Sheet'.Computer)
Hi @modernoddity ,
Then please set the Default property of this Radio control to:
ThisItem.Computer.Value
Regards,
Mona
User | Count |
---|---|
253 | |
101 | |
94 | |
47 | |
38 |