Im trying to set the value of a text box to be a varable in my js code. This is what i've tried:IWDatacapture.getItem("/offers/panels["+i+"]/offer_count").setValue(offercount);which sets the value fine, and updates it as needed, but when I try to save / preview I get this error:Save was unsuccessful. Invalid category/type null was received.It works fine if I set it to a string or a number, but not if i set it to a varable - is there a way round this.Thanks
IWDatacapture.getItem("/offers/panels["+i+"]/offer_count").setValue(offercount + "");
Thanks works now - thought it was something simple like that!