Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


catching data from a checkboc component



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> Flash Forum
View previous topic :: View next topic  
Author Message
dazz_club
250+ Club


Joined: 15 Jul 2005
Posts: 313
Location: Chester and Hull

PostPosted: Wed Mar 22, 2006 11:31 am    Post subject: catching data from a checkboc component Reply with quote

Hi people,

I have a checkbox on my contact form and i would like to catch the data to be sent to me one it has been checked. And I`m having some trouble?


I`ve done some reading and you have to use action scripting:
this is what i have used so far to try and catch the data then be sent to my email,
Code:

checkBox = new Object();
checkBox.click = function (evt){
   google.enabled = evt.target.selected;
   
}
checkBox.addEventListener("click", google);



i have tested this and when i select this checkbox, what is sent and what i read is:
Code:

[object Object]


The data i want to capture is google, The instance name is google but it is also says instance name of CheckBox when i click on properties.

I think i need to work on my action scripting.

Any ideas/advice?

cheers
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> Flash Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap