Prompt Dialog Box for Empty Text Fields
i've created questionair. has 3 fields - name, email, question. input text fields in movie clip called "form". right when click on submit button sends info in text fields (via "form" movie clip) goes thank screen (it works fine):
on (release) {
form.loadvariables("email.php", "post");
}
however, want prompt dialog box when text fields left empty, or @ symbol left out of email text field. appreciative. thanks.
on (release) {
form.loadvariables("email.php", "post");
}
however, want prompt dialog box when text fields left empty, or @ symbol left out of email text field. appreciative. thanks.
on (release) {
if
name.text = ""
then
msgbox.text = "enter name"
}else{
next check...
sorry im tying nothing in front of me isa basic format
for e-mail believe if e-mail.text <> *@*.* should work. or effect have done before cant remember off top of head.
if ya need more e-mail me
if
name.text = ""
then
msgbox.text = "enter name"
}else{
next check...
sorry im tying nothing in front of me isa basic format
for e-mail believe if e-mail.text <> *@*.* should work. or effect have done before cant remember off top of head.
if ya need more e-mail me
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment