# Square Brackets

**URL:** <https://forum.kirupa.com/t/square-brackets/174598>\
**Category:** flash\
**Created:** [January 7, 2006, 3:24am UTC](https://forum.kirupa.com/t/square-brackets/174598 "2006-01-07T03:24:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanikabell](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/tanikabell/32/2053_2.png) [@tanikabell](https://forum.kirupa.com/u/tanikabell)\
**Post date:** [January 7, 2006, 3:24am UTC](https://forum.kirupa.com/t/square-brackets/174598/1 "2006-01-07T03:24:25Z")

</div>

**Html Conversion square brackets** I trying to send varible name that is followed by square brackets out of flash such as product[]  
i need to have the square brackets in order for html to read the variable.

this is my code

on (release) {  
// Initialize form variables:  
formData = new LoadVars();  
formData.userid = “B1”;  
formData.product= “hat” ;  
formData.price = “125.00”;  
formData.qty = “”;  
formData.product[] = “”;  
formData.color = “”;  
// Get combo box selections:  
formData.qty = quantity\_cb.getValue();  
formData.product[]= size\_cb.getValue();  
formData.color = color\_cb.getValue();  
formData.send(“[http://www.thesite.com/cf/add.cfm](http://www.thesite.com/cf/add.cfm)”, “\_self”, “POST”);  
}  
any ideas
