-
input text and variables
I have two input text fields - one for first name and one for surname.
When user hits a submit button, I want both names to appear together in a third box in the form of an email address ie:
firstname.surname@company.com
It sounds so basic, but I've spent hours on it already and no success. Please help...
thanks
-
hi
give each input box an instance name. Say name, surname.
Third box would be a dynamic boxc with a var name! say email.
on the submit button place this code:
on(release)
{
_root.email=_root.name+"."+_root.surname;
}
thats it I guess
-
many thanks - had the quotes in all the wrong places.
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
|