By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,461 Members | 1,002 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,461 IT Pros & Developers. It's quick & easy.

How Do I Get SUBMIT to Go Somewhere?

P: 1
I have this great popup survey that slides in, then exits after the submit button is clicked. However, clicking the button doesn't give me any information about the visitor's answers. I inquired to theDHTML PopUpPro people and was told they don't build results into the program but that information is on the web.

Well, I've been searching and can't find a solution.

Here is the .js code as it was calculated from the program and uploaded to my server:

________________________________________

Expand|Select|Wrap|Line Numbers
  1. var df,rf=false,na=navigator.userAgent,dt=document,op=(na.indexOf('Opera')!=-1),dm=(dt.getElementById)?true:false,ie5x=(dt.all&&dm),mci=(na.indexOf('Mac')!=-1);df=((ie5x||op)&&mci);decide();function decide(){if(df){return;}else{rf=true;}}
  2. if(rf){
  3. function initADP(){bdf=0;
  4. // *** Begin advanced user scripting area ***
  5.    htmlstring="I want to help you the best I can, so please take some time to fill in the following visitor information. Thanks! -- Gail Gupton, author<hr><p>What is the purpose of your visit to the website</p><form name=\"form1\" method=\"post\" action=\"\" >  <input type=\"checkbox\" name=\"checkbox\" value=\"checkbox\" width=\"10\">   Just want Free information<br>  <input type=\"checkbox\" name=\"checkbox\" value=\"checkbox\" width=\"10\">   Intend to buy; I really need help <br>  <input type=\"checkbox\" name=\"checkbox\" value=\"checkbox\" width=\"10\">   Researching available programs<br>  <input type=\"checkbox\" name=\"checkbox\" value=\"checkbox\" width=\"10\"> Curiosity from the Search Engine Ad<br>  <input type=\"checkbox\" name=\"checkbox\" value=\"checkbox\" width=\"10\">   Referred by a third-party person<br></form><p>What is your age </p><form name=\"form1\" method=\"post\" action=\"\" >  <input type=\"checkbox\" name=\"checkbox2\" value=\"checkbox\" width=\"10\">  25-35<br>  <input type=\"checkbox\" name=\"checkbox2\" value=\"checkbox\" width=\"10\">  35-45<br>  <input type=\"checkbox\" name=\"checkbox2\" value=\"checkbox\" width=\"10\">  Over 45 <br></form><p>Are you happy with the information on the website</p><form name=\"form1\" method=\"post\" action=\"\" >  <input type=\"checkbox\" name=\"checkbox22\" value=\"checkbox\" width=\"10\">  Yes<br>  <input type=\"checkbox\" name=\"checkbox22\" value=\"checkbox\" width=\"10\">  No<br></form><p>Are you a first time visitor?</p><form name=\"form1\" method=\"post\" action=\"\" >  <input type=\"checkbox\" name=\"checkbox222\" value=\"checkbox\" width=\"10\">  Yes<br>  <input type=\"checkbox\" name=\"checkbox222\" value=\"checkbox\" width=\"10\">  No<br></form><form><input type=\"submit\" name=\"Submit\" value=\"Submit\">&nbsp; &nbsp; &nbsp;                       <input type=\"reset\" name=\"Submit2\" value=\"Reset\"></form><p>&nbsp;</p>"
  6.    new adp("template11",htmlstring,"Privilege Money Program");
  7.    if(isc)return;
  8.    adpTimer('template11','adpDropin','show','','',3,'');
  9. // *** End advanced user scripting area ***
  10. }
  11. if(window.attachEvent){window.attachEvent('onload', initADP);}else{if(typeof window.onload == 'function'){var preADP = window.onload;window.onload = function(){preADP();initADP();}}else{window.onload = initADP;}}
  12. }
___________________________________

My question is: What coding do I need to insert in the above to make the SUBMIT results come to my email?

I'm a widowed grandmother of 11, trying to make a living on the Internet. I can read html and most javascript, but this new stuff is getting ahead of me too fast. So please reply in plain ordinary English that I can understand. It appears there are a lot on knowledgeable people on this forum.

Please be specific in what to code and how.

Thanks!
Oct 7 '07 #1
Share this Question
Share on Google+
1 Reply


gits
Expert Mod 5K+
P: 5,390
hi ...

welcome to TSDN ...

i've moved your post from the js-articles-section to the js-forum ... please don't post questions in the article-sections

kind regards
Oct 8 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.