# AS2 DateFeild Component

**URL:** <https://forum.kirupa.com/t/as2-datefeild-component/301385>\
**Category:** flash\
**Created:** [December 8, 2009, 6:53pm UTC](https://forum.kirupa.com/t/as2-datefeild-component/301385 "2009-12-08T18:53:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![neonreel](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@neonreel](https://forum.kirupa.com/u/neonreel)\
**Post date:** [December 8, 2009, 6:53pm UTC](https://forum.kirupa.com/t/as2-datefeild-component/301385/1 "2009-12-08T18:53:14Z")

</div>

Hello All,

I have a question regarding the AS2 DateFeild Component. I am making a form that pass’s the Variables over to php. I am using Input text feilds and also a combo box. The text fields were a breeze and the combo box took a little bit of research but I got that working by assigning it a instance name of cBox and then using the following code to pass it through:

```auto

cBoxVar= cBox.getValue();

```

Now I want to add a DateField using the AS2 DateField Component. How would I pass it over to a variable so when the form collects at the end it will go over to the php?

Thanks,

neonreel
