What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How can I get an instant online poll/survey result using jotform??

    Asked by woyoso on March 20, 2012 at 05:44 AM

    My best wishes to Jotform and the all those assosiated with it. I am very happily using Jotform and like to describe it  as, one of the most easy and nice way to create web forms. I am using one form created through jotform in our website.

    We are being a philanthropic org have to depend upon free sources and jotform come as a precious help.

     

    Sir, I wish to ask a few more features which will increase the usability as well as popularity of jotform.

    I wish an instant online result for the form filled by users once they press the submit button. If the instant result is not possible certain mark/grading options for each field of the form

     

    For eg....

     

    Q 1. Your Body type

    (a) Lean  (b) Medium  (c) Bulk

     

    Here if I able to give Marks 1 for A, 2 for B, and 3 for C and the grading options hdden from the user if possible. If it is not possible for hiding it then the total mark of the fields selected by User would be displayed at the end of the form.

    I hope my message is conveyed to the developer and support staff. I am waiting for a reply from your end. My email ID is woyoso.org@gmail.com

     

    Thaking you

     

    Abhilash CR

     

    NB: I wish to make a donation (with in my capacity). Bcoz jotform will spare me from a  lot of headache.

    Page URL:
    http://www.woyoso.net/prakriti_test_section1.html

    Screenshot
    Instant result, Instantsurvey result instant poll result Online scores survey JotForm
  • Profile Image

    Answered by moonzkie on March 20, 2012 at 06:02 AM

    Hi,

    Yes, you can do this using Reports:

    1. Select your form on My Forms page and then click on Reports.

    2. Click on Add New Report and choose Grid Listing or "HTML Table Listing" option.

    3. Follow the wizard and copy the HTML code provided at the last page.

    4. Paste this code to your web site.

  • Profile Image

    Answered by woyoso on March 20, 2012 at 07:09 AM

    Thank you for the fast reply. But sorry to say that I am not able to achieve the requirement. My explanation might have not enough. I wish to re explain the above here.

     

    My Form constitute two sections. Section One about BODY and section two about MIND. I have the BODY form complete and shown above. Once the user compete the survey of BODY, I want the page to redirect to the MIND survey section. Before that, the BODY section survey should give a score to the user, so that in the result page s/he can select the result according to the marks s/he obtained.

    For eg.. Q 1. Physique (Options are three in radio buttons) A. Thin   B. Medium    C. Fat

    Q2. Body Weight (three options) A. Light    B. Normat   C. Overweight

    like the above both sections have more than 50 Questions. Suppose, for all the questions, options A get one mark each then the user will get a score 50 at the end of each survey (while the score should indicate/change  with every click of user on each options) If it is "B" then the mark should be "100" if all the selected options are "C" then it is 150. If there is a mixture of selection the mark also vary depend on the selection. Through this marks I can guide the USER to their result page.

     

    I will be greatful to your answers. I have very little knowledge about JavaScript. HTML I can try.

     

    Thanking you

     

    Abhilash CR

  • Profile Image

    Answered by gori-mathew on March 20, 2012 at 07:30 AM
  • Profile Image

    Answered by woyoso on March 20, 2012 at 07:39 AM

    Hi gori-mathew,

     

    Thank you for the Quick Reply. If you take it as a compliment, Ur image made me remeber Brian Lara, a legendary Cricketer of West Indies.

     

    Thanking you again. I am trying the links.

  • Profile Image

    Answered by gori-mathew on March 20, 2012 at 07:49 AM

     

    Haaaa!.. i like that!

    Thanks and kindly give us feedback if that hepls.

  • Profile Image

    Answered by woyoso on March 20, 2012 at 09:09 AM

    Hi Jotform. I received a lot of help from here. unfortunately, my task is still pending. For your kind observation I appending the code I took from another Site where same test is placed (Infact I was copying the content from there for testing myform, My form will be changed later to YOGA related contents). These are calculation related JS codes (I guess). If anything possible through this code.. Help....

     

     

    <input type="submit" name="ctl00$ctl00$MainContent$place2$ctl00$btnSubmit" value="Continue" onclick="return Calculate_dosha('ctl00_ctl00_MainContent_place2_ctl00_Vscore','ctl00_ctl00_MainContent_place2_ctl00_Pscore','ctl00_ctl00_MainContent_place2_ctl00_Kscore','ctl00_ctl00_MainContent_place2_ctl00_maxP');WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ctl00$ctl00$MainContent$place2$ctl00$btnSubmit&quot;, &quot;&quot;, true, &quot;&quot;, &quot;&quot;, false, false))" id="ctl00_ctl00_MainContent_place2_ctl00_btnSubmit" style="BORDER-RIGHT: 1pt solid; BACKGROUND: #efaf0f; BORDER-BOTTOM: 1pt solid" />  

     

     

    the codes are out of page, I don't know where to bisect it

  • Profile Image

    Answered by jcm0731 on March 20, 2012 at 10:07 AM

    Hi,

    The result (Report) of your survey/poll should be located on another page. After you added a report, you will be given a URL link for the resulting report. You can use this URL in the Redirection URL when Submit button is used.

    You cannot put the Report Page on the same form where your Survey Form is.

    Hope this answers your questions. Should you require further assistance please post here.

  • Profile Image

    Answered by woyoso on March 20, 2012 at 10:15 AM

    Yes, I understood that. But I need a solution to calculate the entries of the form, so that I can redirect the users to new pages. Can you provide me some code/anything like that.

     

    Thanking you

  • Profile Image

    Answered by woyoso on March 20, 2012 at 10:18 AM

    If nothing is possible please analyze this code and tell me where is the redirection url is placed in this CODES

     

    <div align="center"> <center><p><br> Click on the Continue button <br> for the second (Characteristics features of your behavior / psyche) test </p> </center></div><table border="0" cellpadding="2" cellspacing="0" width="100%"> <tr> <td width="50%"><p class="Headers"></td> <td width="50%"> <input type="submit" name="ctl00$ctl00$MainContent$place2$ctl00$btnSubmit" value="Continue" onclick="return Calculate_dosha('ctl00_ctl00_MainContent_place2_ctl00_Vscore','ctl00_ctl00_MainContent_place2_ctl00_Pscore','ctl00_ctl00_MainContent_place2_ctl00_Kscore','ctl00_ctl00_MainContent_place2_ctl00_maxP');WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions(&quot;ctl00$ctl00$MainContent$place2$ctl00$btnSubmit&quot;, &quot;&quot;, true, &quot;&quot;, &quot;&quot;, false, false))" id="ctl00_ctl00_MainContent_place2_ctl00_btnSubmit" style="BORDER-RIGHT: 1pt solid; BACKGROUND: #efaf0f; BORDER-BOTTOM: 1pt solid" /></td> </tr> </table> </td> </tr> </table> </td> <td width="166" valign="top" background="../images/bginc.gif" align="center"><p>&nbsp;</p><input type="hidden" name="ctl00$ctl00$MainContent$place2$ctl00$Vscore" id="ctl00_ctl00_MainContent_place2_ctl00_Vscore" /> <input type="hidden" name="ctl00$ctl00$MainContent$place2$ctl00$Pscore" id="ctl00_ctl00_MainContent_place2_ctl00_Pscore" /> <input type="hidden" name="ctl00$ctl00$MainContent$place2$ctl00$Kscore" id="ctl00_ctl00_MainContent_place2_ctl00_Kscore" /> <input type="hidden" name="ctl00$ctl00$MainContent$place2$ctl00$maxP" id="ctl00_ctl00_MainContent_place2_ctl00_maxP" /> <input type="hidden" name="ctl00$ctl00$MainContent$place2$ctl00$user" id="ctl00_ctl00_MainContent_place2_ctl00_user" /> <p>&nbsp;</td> </tr> </table> </center></div> </form> </td> </tr> </table> </div><script language="Javascript"> <!-- function Calculate_dosha(a,b,c,d){ var val; var Vscore = 0; var Pscore = 0; var Kscore = 0; var totalScore = 0; var radioName; var groupName; var i=0; var kk = 1; var flag = true; var max; var nextmax; var maxname;//alert(document.frm1.elements.length); //for(var i=0;i<document.frm1.elements.length-1;i++){ while(i<document.forms[0].elements.length){ //alert('hi'); //return false; //for(i=0;i<10;i++){ if(document.forms[0].elements[i].type=="radio"){ radioName = document.forms[0].elements[document.forms[0].elements[i].name]; //radioName is objects //groupName = "document.frm1."+radioName; // kk return In each group how many radio button kk = radioName.length; //alert(kk) for(var j=0;j<kk;++j){ val = ""; if(radioName[j].checked){ val = radioName[j].value; //alert(val); if(val=="V"){ Vscore = Vscore + 1; //break; } //alert(Vscore); if(val=="P"){ Pscore = Pscore + 1; //break; } //alert(Pscore); if(val=="K"){ Kscore = Kscore + 1; //break; } //alert(Kscore); } } i = i + kk; }else{ if(document.forms[0].elements[i].type=="checkbox"){ checkboxName = document.forms[0].elements[document.forms[0].elements[i].name]; if(checkboxName.checked){ val = checkboxName.value; //alert(val) if(val=="V"){ Vscore = Vscore + 1; //break; } //alert(Vscore); if(val=="P"){ Pscore = Pscore + 1; //break; } //alert(Pscore); if(val=="K"){ Kscore = Kscore + 1; //break; } } } i = i + 1; } }max=Vscore maxname = "Vscore" //alert("v"+Vscore) if(Pscore>max){ max=Pscore nextmax=Vscore maxname = "Pscore" }else{ nextmax=Pscore } if(Kscore>max){ nextmax=max max=Kscore maxname = "Kscore" }else{ if(Kscore>nextmax){ nextmax=Kscore } } document.getElementById(a).value = Vscore; document.getElementById(b).value = Pscore; document.getElementById(c).value = Kscore; document.getElementById(d).value = maxname; //alert("Vscore:"+Vscore); //alert("Pscore:"+Pscore); //alert("Kscore:"+Kscore); //alert("max:"+maxname); totalScore = Vscore + Pscore + Kscore; //alert("totalScore:"+totalScore); if(totalScore < 22){ alert("You should attempt atleast 22 questions to move to next page.") flag = false; }else{ flag = true; } return flag; }function MM_initTimelines() { //v4.0 //MM_initTimelines() Copyright 1997 Macromedia, Inc. All rights reserved. var ns = navigator.appName == "Netscape"; var ns4 = (ns && parseInt(navigator.appVersion) == 4); var ns5 = (ns && parseInt(navigator.appVersion) > 4); document.MM_Time = new Array(1); document.MM_Time[0] = new Array(2); document.MM_Time["Timeline1"] = document.MM_Time[0]; document.MM_Time[0].MM_Name = "Timeline1"; document.MM_Time[0].fps = 12; document.MM_Time[0][0] = new String("behavior"); document.MM_Time[0][0].frame = 80; document.MM_Time[0][0].value = "MM_showHideLayers('intro','','hide')"; document.MM_Time[0][1] = new String("behavior"); document.MM_Time[0][1].frame = 1; document.MM_Time[0][1].value = "MM_showHideLayers('intro','','show')"; document.MM_Time[0].lastFrame = 80; for (i=0; i<document.MM_Time.length; i++) { document.MM_Time[i].ID = null; document.MM_Time[i].curFrame = 0; document.MM_Time[i].delay = 1000/document.MM_Time[i].fps; } } //--> </script>
  • Profile Image

    Answered by jcm0731 on March 20, 2012 at 10:22 AM

    Hi,

    I indicated here earlier how to Redirect URL like this http://www.jotform.com/help/38-How-to-Redirect-to-a-Page-After-Form-Submission .

    Redirection is triggered when you Submit the form.