# Contact table help!

**URL:** <https://forum.kirupa.com/t/contact-table-help/237045>\
**Category:** Uncategorized\
**Created:** [August 26, 2007, 9:16pm UTC](https://forum.kirupa.com/t/contact-table-help/237045 "2007-08-26T21:16:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![elementsk84](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@elementsk84](https://forum.kirupa.com/u/elementsk84)\
**Post date:** [August 26, 2007, 9:16pm UTC](https://forum.kirupa.com/t/contact-table-help/237045/1 "2007-08-26T21:16:55Z")

</div>

im making a flash contact table. and ive entered this code on the actions frame(frame 1).

stop();

mc\_form.btn\_send.onRelease = function():Void  
{  
if(mc\_form.txt\_name.text == “”)  
{  
\_root.gotoAndStop(“error”)  
}  
else  
{  
\_root.gotoAndStop(“correct”)  
}  
}

also on frame one is the contact form.

but it keeps giving this error.

**Error** Scene=Scene 1, layer=actions, frame=1:Line 3: ‘{’ expected  
mc\_form.btn\_send.onRelease = function():Void

can someone please fix this
