469,324 Members | 1,442 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,324 developers. It's quick & easy.

How Do I Get SUBMIT to Go Somewhere?

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.

Oct 7 '07 #1
1 1312
5,390 Expert Mod 4TB
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.

Similar topics

11 posts views Thread by Greg Bryant | last post: by
3 posts views Thread by besbello | last post: by
1 post views Thread by Kevin Bilbee | last post: by
1 post views Thread by jim whitaker | last post: by
2 posts views Thread by Gregor Horvath | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by mdpf | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.