Hi all,
I am doing test with Javascript, I'm new using that.
I want to create a list through the Javascript in format control.
Right now I am able to write in the Caption Condition [$mytest] and then in the JavaScript section of the form I write down
system.vars.$mytest="Javascript";
And in my form I have "Javascript" that is displayed. So this is working fine. yay!
Now
what I want to do is to fill the list of a Comfill box. Right now I am able to add only ONE value. I type in the Value List Condition: [$mytest]. In the Javascript I try different way to create a list but I am unable to
* system.vars.$mytest="Javascript, Allo";
* system.vars.$mytest={"Javascript, Allo"};
* system.vars.$mytest[0]="Javascript";
system.vars.$mytest[1]="Javascript";
But nothing works. How can I fill the variable $mytest so it becomes a list.
thank you!


Reply With Quote


Bookmarks