trying to convert a simple drop down with two choices Yes and No to a toggle.
the dropdown datacard is called Email_DataCard2 with the combo value DataCardValue6.
Update on datacard is DataValue6.Selected and items for drop down is Choices([@Stage3B_Test].Email)
So i can add a toggle to the datacard, delete the combo and rename the toggle DataCardValue6.
Also i have renamed the truetext and false text to Yes and No.
...But what i cannot work out is the correct formulas/syntax to add the Update on Datacard and items for toggle
thanks
thanks Warren as usual.
for anyone else interested i have also updated default property of toggle to display value of current record
If(ThisItem.Email.Value= "Yes", true, false)
HI @cheezy ,
The Update of the Data Card - just add the two values you need posted depending on the On/Off of the Toggle
{
Value:
If(
DataCardValue6.Value
"YourValue1",
"YourValue2"
)
}
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2