Initializing Form Variables to Array or Object Literals

I do not seem to be able to initialize a form variable to an array or object literal. I tried the media type and the text type, but neither works. This is similar to a bug I posted about global variables shortly after 4.0 final was released, but I did not mention form variables in that report.

Will a fix be implemented in the next version of 4 to allow form variables to be initialized to array or object literals? Possibly it works now and my syntax is wrong? Although the same syntax within the scope of a function block works fine.

Thoughts?

without code it’s difficult to tell if your code is correct :)

But it sounds like a case in the support system is required for this one

Paul

Hi Paul,

Check Case ID#: 141909

The same issue, but with form variables instead of global variables. This problem may already be fixed for both global and form vars, I don’t know.

Please check in 4.0.1 when released.

Paul

will do