Hi,
Is there a way you can set / update a Pipeline Pilot global variable from within javascript ?
I can pass global variables into my javascript function but cannot work out how to update the value of a global variable from within a javascript function.
Note: I'm trying to modify the way the Searchable List Box protocol works. Currently a user has to select something from within the list box for it to work (as the user's selection is set as the output value from the searchable list box). If they don't select anything, it results in an error as the output value for the searchable list box is left undefined. I would like it to modify it so that in case the user does not select anything, the value of the searchable list box should be set to whatever text they have entered (even if it’s not found within the list box).
I can do this in javascript by creating a function that identifies whether an option in the list has been selected or not. If yes, it is retrieved from the list. If not, the text entered in the textbox is retrieved instead. I want to set this to the output value of the Searchable List Box which is a global variable.
Any suggestions/ feedback would be great.