473,324 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

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.

Thanks!
Oct 7 '07 #1
1 1428
gits
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

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

Similar topics

11
by: Greg Bryant | last post by:
I saw it somewhere the other day, and just saw it again on the pear.php.net search page. When you click the "submit" button, it switches to a grayed out "processing" button. I glanced at the...
15
by: M Smith | last post by:
I have a form I want to submit to itself. I want to be able to type in a list of numbers and submit the form and have that list show up on the same form under the text box I typed them into and...
17
by: gsb | last post by:
HOW TO: Submit a form to PHP with no return? I need to submit a form for file upload to a PHP script but do not want anything returned. That is the TARGET for the form should be like a null...
4
by: Peloux | last post by:
Hi, I have written some htc in order to validate data in a form. most of htc are attached on 'onblur' event. Now, we would like to use the Enter Key to sublit form, so we use the following...
3
by: besbello | last post by:
Hi all, I want to submit a form when the user closes the browser, to keep a count of the number of users accesing my application at each moment. To do this, I use the onbeforeunload() event, that...
1
by: Kevin Bilbee | last post by:
I have a web form with a few text fields some validataion and a submit button. When I click the submit bittin the serverside event does not fire????? Why!!!! I have tried Changing the...
1
by: jim whitaker | last post by:
I followed this tutorial, and I have it working. http://www.webpasties.com/xmlHttpRequest/ My question is this: After an AJAX form receives it's data from the server, how could i then submit...
2
by: Gregor Horvath | last post by:
Hi, As I am no expert web programmer I thought I'd better ask the experts if there is a simpler or better solution to my problem than the one I am thinking of. (using TurboGears) The problem...
2
by: pantagruel | last post by:
As per the subject line, Firefox's error console says document.forms.submit is not a function. the javascript is function makequery(param){ document.forms.qu.value=param;...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.