# Problem with sending datefield component value

**URL:** <https://forum.kirupa.com/t/problem-with-sending-datefield-component-value/260092>\
**Category:** Uncategorized\
**Created:** [May 12, 2008, 3:15pm UTC](https://forum.kirupa.com/t/problem-with-sending-datefield-component-value/260092 "2008-05-12T15:15:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JasonD2007](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@JasonD2007](https://forum.kirupa.com/u/JasonD2007)\
**Post date:** [May 12, 2008, 3:15pm UTC](https://forum.kirupa.com/t/problem-with-sending-datefield-component-value/260092/1 "2008-05-12T15:15:12Z")

</div>

Hi All,

Thank you in advance for reading my thread.

I am trying to send a date value from a datefield component to an asp page.

But so far i have been getting a undefined error when the asp page returns the sent data from the form.

The code:

(actionscript 2.0)  
function onSubmit() {

```
formData = new LoadVars();
formData.dateNew = dateNow.getValue();

```

asp code:  
\<%  
reply\_date = Request.Form(“dateNew”)  
returnToFlash ="&reply\_date=" & Server.URLEncode(reply\_date)

Response.Write returnToFlash  
%\>

I am new to flash & actionscript and any kind of advice will be extremely helpful.
