PLEASE HELP !!!! Form with Submited Date
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: PLEASE HELP !!!! Form with Submited Date

  1. #1
    Junior Member
    Join Date
    Aug 2012
    Posts
    5

    PLEASE HELP !!!! Form with Submited Date

    Hi, i'm building a newsletter join section in my site, with an input text for e-mail, to send to my php file.

    But i need the date when this person joined.

    This is code so far:

    btn.onPress = function(){
    var form:MovieClip = this.createEmptyMovieClip("form", this.getNextHighestDepth());


    form.email = email_txt.text;
    form.date = date_text.text; ///////// this is not working of course //////////



    form.loadVariables("http://www.k4ribbons.com/input.php","POST");
    form.onData = function(success:Boolean) {
    for (var a in this) {
    trace([a, this[a]]);
    gotoAndPlay("thanks"); }
    }
    }

    Any ideas ???

    Thanks

  2. #2
    Flashkit historian Frets's Avatar
    Join Date
    Oct 2000
    Location
    flashkit
    Posts
    8,791
    Hi,

    Prolly not the idea you are looking for.

    Use the flash forums for your flash questions. I've moved your thread and left a redirect so that it isn't lost.

  3. #3
    Member
    Join Date
    Aug 2012
    Posts
    55
    Example
    The following example creates a selectable text field that constantly updates with the current date and time.
    this.createTextField("date_txt", this.getNextHighestDepth(), 10, 10, 100, 22);
    date_txt.autoSize = true;
    date_txt.selectable = true;

    var date_interval:Number = setInterval(updateTime, 500, date_txt);
    function updateTime(my_txt:TextField) {
    my_txt.text = new Date().toString();
    }

Posting Permissions

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




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com