Change New-UDTextbox background color on validate

Product: PowerShell Universal
Version: 3.8.12

Hello, newbie question, search does not hep a much.
I want to slowly migrate to Powershell Universal from other solution. Im tryimg to recreate some forms that im using there.
So basically i have simple form :

New-UDForm -Content {
    New-UDTextbox -Id 'account' -Placeholder 'account' -Label "Required: Login for technical account" -FullWidth 
    New-UDTextbox -Id 'BO' -Placeholder 'BO' -Label "Required: Name of Bussiness Onwer" -FullWidth
    New-UDTextbox -Id 'RQ' -Placeholder 'Bizhelp' -Label "Optional: Request" -FullWidth
    New-UDSelect -Label "Choose account domain" -FullWidth -Option {
        New-UDSelectOption -Name 'EU' -Value "EU"
        New-UDSelectOption -Name 'US' -Value 'US'

} -OnValidate {
    $FormContent = $EventData
    if ($FormContent.account -eq $null -or $FormContent.BO -eq $null) {
        New-UDFormValidationResult -ValidationError "account and BO is required"
    } else {
        New-UDFormValidationResult -Valid

And I want to change background color of those requested fields until they are not empty.
I know I have to probably use Sync-UDElement command, but im feeling kind of stuck at the moment.
Any help appreciated. :slight_smile: