I don't understand what you did exactly and what you are trying to achieve. "setting the variable that I have manually created in webiq to the value from input field of webIQ" -> that sets the connected item value automatically, i.e. you don't set an item to a value from an input field because the input field itself should be connected to the item to set and does that automatically when the user enters a different value and leaves the field. "I am using a button to run the script." -> is this a custom UI Action? There's also the UI action to write an item value. If you describe what you want to achieve I might be able to provide a suggestion on how to do that with WebIQ.
... View more