Forum Discussion
Pn1995
Mar 19, 2019Brass Contributor
Auto populate default value
Hi We have a drop down field were user can select a location We then have a another field for a ticket reference were depending on the location select, a code is entered is automatically populat...
WinfredLiu
Sep 12, 2019Brass Contributor
Hi Pn1995
You set the "Ticket Reference" Default field to:
If(DataCardValue4.Selected.Value="Basingstoke-(BAS)","BAS-","false")
That's why when you "Edit" the item, it will show "BAS-" again.
If you want to keep the value when you edit it, you can change the Default to:
If(
!IsBlank(Parent.Default),
Parent.Default,
DataCardValue4.Selected.Value = "Basingstoke-(BAS)",
"BAS-",
"false"
)