If statements to define what text is shown. (DELETE ME PLEASE)

Hi,

I am retrieving a value from a database. When I have that value i then want to set a text box value.

When i try this nothing works. I have had a look round the forum with no luck. Could someone please help me out?

image

if ({{ Get_Users_By_Check_Id.data.backup_type['0'] === 'NORMAL'}} ) { {{txt_onboard_restore_type.value = "JUST WORK"}} }

The text in the box always shows:
image

{{Get_Users_By_Check_Id.data.backup_type['0'] === 'NORMAL'? 'TRUE':'FALSE Request'}}

1 Like