Limiting Choices

  • Profile Image
    Ash
    Asked on January 25, 2012 at 04:55 AM

    Hi, if i had a for with say 20 choices (lets say 20 names) and i want my users to select 10 of those names and submit, is there a way to

     

    1) limit the user to exactly 10 choices, no more, no less and alert them if they try and submit with the wrong noumber

    2) show me the order in which the have selected the names

    3) spread the names across two pages of form

     

     

    thanks

  • Profile Image
    zugfrig78
    Answered on January 25, 2012 at 07:08 PM
    Hi I have managed to download the source as required but on the drag and drop website builder (which is weebly) I can create a HTML box but cannot paste any files only code. I have done so to the website www.thepclub.weebly.com but the formate is no longer aligned. All the other files that came in the source download I done know what to do with (eg the folders called CSS and js)
  • Profile Image
    zugfrig78
    Answered on January 25, 2012 at 09:04 PM

    no weebly does not have weebly access

  • Profile Image
    zugfrig78
    Answered on January 25, 2012 at 09:29 PM

    i mean they dont have ftp access.

     

    could the line of script in my original format (the html/php) be reworked and added to your to code

  • Profile Image
    zugfrig78
    Answered on January 26, 2012 at 03:38 AM
    Ok, I promise to sit on my keyboard until I hear back.I've just been so excited reading all these posts and how helpful you guys are with people and my website might finally do what I'd hope it could without me not spending 10 years learning to write script :-)
  • Profile Image
    zugfrig78
    Answered on January 26, 2012 at 07:03 PM

    Hello Fxr,

    I am so glad i decided to be patianet....what you have created is UTTER BRILLIANCE, you have no idea, that is far and beyond what i expected, the way if greys out names down the bottom when you choose names up the top an dhow the 18 counts down as you click them is brilliant........

    I have tried on 3 browsers (at the link you snet) and all work perfectly) then...

    Ok (sorry impatient agian) i uploaded to weebly as first an embedded html and secondly a line to the website (from the jotform builder) and while both show up the same, the reducing of numbers and greying out do not work.... i am guess this is the part that you are saying is javascript????

     

    OK so now i sit here sweating bullets because i have your link in front of me and im seeing the absoulte perfect solution to my website but am shaking like a leaf that weebly will not be able to support it.....

     

    so in answer to your question..... tested on 3 browsers from your link above and it works perefct...now just to get it into weebly

     

    p.s i left them on weebly at http://thepclub.weebly.com/jot-trial.html and http://thepclub.weebly.com/test-page.html

  • Profile Image
    Ash
    Answered on January 26, 2012 at 07:43 PM

    hi,

     

    clear button is not required

  • Profile Image
    Ash
    Answered on January 26, 2012 at 07:49 PM

    ok done and pblished to http://thepclub.weebly.com/jot-trial.html

     

    but still not working

  • Profile Image
    zugfrig78
    Answered on January 26, 2012 at 08:42 PM

    PURE GENIOUS IT WORKS, IT WORKS!!!!!

     

    ok no the curve ball, i dont want to alter it one bit as far as functionality but, i only used fake names for testing, i will have to go in and input the real players names

     

    can this still be done through jotform online or do i have to change them in each script....

     

    the other thing is i need to reprodcue the exacpt same script 10 times over each with that correspoding teams players names (and that team name on the email notificaition to me....

     

    can this be done?

  • Profile Image
    zugfrig78
    Answered on January 26, 2012 at 09:34 PM

    ok great, thanks, i will get playing...i will still only use fakes names for now beacause squad selection happens in two weeks but that should be fine....

     

    just to wrap up when i get the code to embed in my webpage i am selecting Source code not embed is that correct?

  • Profile Image
    zugfrig78
    Answered on January 26, 2012 at 10:54 PM

    Hi JXR,

     

    OK we are so close.......

    i found cloning quite easy in jotform and i have gone ahead and cloned it 10 times.... one for each team... i have also left your original form untouched as like a safetynet version....

    i have even entered the 45 names in each form so no form is the same, well i actully used the teams players from last year for the test but now i know how easy it is i can change them when the new teams are picked that will be fine

     

    the only issue i have is whenever i try and use either the embedded code or the source code generated by jotform when clicking the blue world icon it displays on screen but like before none of the java parts work

     

    an eample of this can be seen at http://thepclub.weebly.com/practice-page.html

     

    its only when i paste the code from your forum link above that the java parts do work

    the working version you supplied is uploaded at http://thepclub.weebly.com/jot-trial.html 

     

    im not sure why but only the code you supplied in you above link will work when pasted into weebly ....but..... when i click the blue worldle in jotform and copy either the embedded code or source code it generates (evern with your orignial team selection form) it will only display the form without funtioning javascript

     i did some investigating and not that i know much about script language is was plain to me the all 3 (the jotform embeded, jotform source code and your forum posted version all look completely different.

     

    im not sure the forum cuold handle much text but i have emailed them to you to show you what i mean...

     

    like i said the forum version works it just a matter of me being able to get the new code out of jotform after i changes the names.

    i expect this is something small stopping this