Hi @edwardburton ,
For the Dropdown: Set the OnChange property to update the current item's pay code property.
UpdateContext({varSelectedPayCode: ThisItem.PayCode})
put this code on the displaymode property of the dropdown
DisplayMode = If(ThisItem.PayCode = "CertainPayCode", DisplayMode.Disabled, DisplayMode.Edit)
on the onchange property of the dropdown put this code
If(Dropdown.Selected.Value = "CertainPayCode", UpdateContext({varClearFields: true}), UpdateContext({varClearFields: false}))
For the Default property of the Job Number and Sub Job controls, use:
Default = If(varClearFields, "", ThisItem.JobNumber)
If this information helps you, please mark it as the solution and leave a thumbs up. Thank you! 😊