Hi All,
Hopefully a simple one,
I have an input field for a barcode, I then have some logic to check the length of the barcode,

This works, so at the moment, if the number above is 15 characters it returns yes, if not then no, so far so good.
What I would like to do is update context if yes, or no.
I have tried the obvious,
If(Len(LabBarcode.Text)=15,UpdateContext({bccheck:true}),UpdateContext({bccheck:False}))
But I get a behaviour function error.
I would like this validation to update the visibility of the go button next to the control as seen above. Basically, the go button should only show if the number is 15 characters long.
Can anyone help with a method to do this please?
Many thanks in advance for any responses.