-
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
-
Flashkit historian
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.
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|