Contact form with DateField

Ask a Question related to Macromedia Flash Data Integration, Design and Development.

  1. #1

    Default Contact form with DateField

    I hope someone can help me with this because I can't get it to work myself. I
    have created an contact form with Flash and in this form there is a Datefield
    and I want the value of this Datefield to be send to my email by php. I can't
    figure it out how I can set the selected date to an variable which can be send
    by php, perhaps someone can me? (the rest of the contact form works fine)

    Thanks in advance,

    Remco

    r.frolich Guest

  2. Similar Questions and Discussions

    1. contact form
      Can anyone help me. I have a contact form on my site it works ok when anyone submits the form and the confirmation page opens ok. The prob I have...
    2. Flash Contact Us Form
      Hey Everyone, I need to get a contact us form in a flash site to send an email to me when someone submits it. I bought a template...
    3. How to capture data from a contact form
      Thus far I've learned how to create a contact form with fields for name, e-mail, phone number, and comments to include a button for send and a...
    4. Contact Us Form
      Can somebody please give me a simple script for a form that is going to be sent to design@netzed.co.uk. Has a text field for contact name, email...
    5. PHP and contact form
      I'm a virgin at PHP, so go easy. :) I have a contact form and a separate PHP script that I'm attempting to author. I have no problem with it...
  3. #2

    Default Re: Contact form with DateField

    To assign the current date to field use the snippet below:



    var today_date:Date = new Date();
    var date_str:String =
    (today_date.getDate()+"/"+(today_date.getMonth()+1)+"/"+today_date.getFullYear()
    );
    mydatefield.text=date_str; // assign the date to a field

    LogicTrap Guest

  4. #3

    Default Re: Contact form with DateField

    Okay, this allows me to send the current date with php to my email but what I
    really want is that someone should be able to change the date with the
    Datefield and that the selected date will be send.

    Thanks again,

    Remco

    r.frolich Guest

  5. #4

    Default Re: Contact form with DateField

    I think you just need to assign the date value to the variable you are sending
    to flash. If the date field is named:

    mydatefield

    then it can be assigned to a variable this way:

    myphpvar = mydatefield.selectedDate;



    LogicTrap Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139