Skip to main content
Participant
November 20, 2010
Question

Passing Hidden Values

  • November 20, 2010
  • 1 reply
  • 314 views

Hello I have a form created using Flash CS3 and I want to pass the following hidden value name:

optionprod[ ]

The only problem is when I publish the file I get and unexpected "]" error. How can I pass the value with the brackets? Thanks.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
November 20, 2010

you can't use brackets in an object reference (unless something meaningful is within the brackets).  you can use a string with brackets, however, so you could use:

this["optionprod[ ]"];