To put it simply, I want it to generate a click on a button automatically when a field has a particular value. In the properties of the button, on the logic tab, I have:
And so here I need the Javascript to click this button.