Hi @v-micsh-msft,
1. Upvoted.
2. Thanks, it works - almost. 2 buttons are fine but one shows another button's text as well.

OnSelect properties are as follows:
SubmitBtn: SubmitForm(UsageForm) & UpdateContext({Reset1:false;ShowSuccess:true;ShowNew:false})
ResetBtn: ResetForm(UsageForm) & UpdateContext({Reset1:true;ShowSuccess:false;ShowNew:false})
NewBtn: NewForm(UsageForm) & UpdateContext({Reset1:false;ShowSuccess:false;ShowNew:true})
Labels' Visible properties call the right variable: Reset1, ShowSuccess, ShowNew.
Any idea why this happens?
3. Sorry, I might have been unclear. I don't want to add back the selected value of the dropdown item, I'd like to show the corresponding unit of measurement. So user chooses "Sugar" for instance as a commodity from the dropdown, then text next to the dropdown should be "tonnes". If he/she chooses "Natural Spirit", text should be "litres" etc. So label here would change dynamically.
I use this code for the label's Text property:
If(Value(DataCardValue22.ProductID)=1;Value(Label4)="litres";Value(Label4)="tonnes")
where
DataCardValue22 is the selected dropdown item. Dropdown works from a database where there are 2 columns: ProductID and ProductName. It uses ProductID (number) but shows ProductName (text). Label4 is the text I want to show to the user.
The error I get is: "Compared values don't have the same type (left side is number, right side is text)." It can be a logical or syntactical error - or rather the first as I think the syntax is OK.
Could you please suggest the right code?
Thanks,
Tamás