This content has been marked as final. Show 11 replies
OK, I just feel really stupid......where is the coding suppose to go? This is the errors I'm coming up with: Statement must appear with onclip handler. I'm just confused...my head hurts from this one...now problem doing this in HTML but this flash.....
This is what I've done:
ON the text portion then on the submit button:
See not being too brilliant here.......
I really appreciate all your help!
that code should be attached to a frame and you must have defined the string variables Name, Email etc.
and your onData function is incorrect:
OK, I need to define the string variables........
so, the input text field is named "Name"
so to define the variable???
there wouldn't be much point in doing that. don't you want to create a form that's going to be filled-out by some user(s)?
put some input textfields on-stage and give them instance names (like
etc. and then use their text property after the user has entered their info:
I keep getting this error:
description: ')' or ',' expected
source: (submit.onPress=function(lv.sendAndLoad(" http://www.hostmonster.com/monstermail",lv,"POST"))
well, that's not my coding. check the code in my first message for the correct syntax.
OK, sorry....no more errors when I test the movie but when I test it live....nothing happens???? Here's the link again:
Code as it is:
// data successfully sent
// this will execute if your cgi script returns something after executing
I haven't adjusted what happens after you his the submit button yet.....just trying to get the email working.
did you read the directions for monstermail? you can only send to an email address in the hostmonster domain.
The email is fine.......I'm just totally confused........
you can't use that email script (monstermail) and email@example.com. check support for forms at hostmonster.com.