
Announcements
Good Morning,
I have a simple patch statement that has a Source Text Column in Sharepoint but I use a Dropdown in Powerapps.
Patch(
Contacts,
Defaults(Contacts),
{
FirstName: txtFirstName.Text,
LastName: txtLastName.Text,
State: drpState.Selected.Value,
}
)The Dropdown items is ["State", "ACT", "NSW", "NT", "QLD", "SA", "TAS", "VIC", "WA"]
Its default is 1
I basically want to deal with the prospect of user not selecting from the dropdown. In otherwords it stays on the default of "State"
If this was to happen I dont want to write anything to the Sharepoint column (instead of writing the word State)
Wondering how and where I would put the if statement to achieve this and what would it look like.
Thanks in advance
Todd
Hi @Tango ,
You can have the InputTextPlaceholder as "State" or "Select State" and nothing will be written if nothing is selected. The Items can be
["", "ACT", "NSW", "NT", "QLD", "SA", "TAS", "VIC", "WA"]
BTW which one are you in ?
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.
MVP (Business Applications) Visit my blog Practical Power Apps