Announcement

Collapse
No announcement yet.

there must be a way

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • there must be a way

    i cant let this one go cause somebody must know the answer


    I have scoured the net for a how to on sortable drag and drop lists.

    This site has many but for my purposes i like


    having said this i need to know more about the form side of it. i run a comp where my users log in and choose an order. i need to be able to have the order they choose sent to me. at present my site has form templates i use and they manually type the choices into text fields and when the hit submit i get an email of the list.
    the drag and drop list is so much more user friendly and i would love to use it but i need to learn the hows and whys of getting the info off the site into my computer. getting it via email (as i do now) is easy for me but failing that i need some feedback on the form / online server stuff i read about on here.

    this link mentions forms and online servers is that a better or alternate option of geeting my data returned to me from the site.

    http://www.dhtmlgoodies.com/index.ht...=arrange_nodes (see bottom of page "this line submits form"

    what the easiest way to get the info my users input???

    surely with millions of bluevoda user someone is runnnig something similar.



    *HELP THE LESS INTELLIGENT*

    Ta ASH.

  • #2
    Re: there must be a way

    Tell to answer the question, yes it is entirely possible to do this.

    Now, depending on the process which your users take will depend on how difficult this is to do.

    Do you have a list, and they are choosing the order of that list and submitting it to you? Or are the users making a unique list themselves and submitting that? (Perhaps gives a link to what you are doing now to give an idea of what your attempting to do).

    Also there isn't a million users.

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

    Comment


    • #3
      Re: there must be a way

      Firstly thanks for being the first to take interest.

      ok best described go to my current page



      (Username: Ashley Password: 2)

      at the moment the tick check boxes and submit which sends me the names of the players selected.

      last year i just had text fields and they had to typw on the names.

      my plan as shown at



      i would have all the players names in there and i would need some kind of submit button. from the list of 45 players i would auto matically know the top 18 are the selected players for this weeks team.

      an even better idea would be



      but that looks harder (but easier again for the user)


      Hope that helps you help me.


      Ta

      Comment


      • #4
        Re: there must be a way

        The simplest way I can think of, although it may require modification of your script that sends the email, I can't say without seeing that), would be:

        In the example of dhtmlgoodies, changing each line of this:

        <li id="node1">Node no. 1</li>

        to something like:

        <li id="node1"><input type="hidden" name="players[]" value="Player name" />Player Name</li>

        The blue and green text can be whatever you want. The blue will be submitted with the form so it should be something that makes it easier for you to record (the user won't see that), the green is what the user will see. It should be something that makes it easier for them to give you the correct list.

        Oh, lastly surround all of these with <form action="path/to/your/action.php" method="post"> and </form>

        So it should look like..
        <form action="" methood="post">
        <ul>
        <li>player</li>
        ...
        </ul>
        </form>

        I hope that helps. Post your action.php (or whatever you have it called.. the php script that sends your email), and I will double check to make sure it will work.

        Register/Login Script
        Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

        Comment


        • #5
          Re: there must be a way

          tHANKS HEAPS MATE,

          I WILL SIT DOWN AND HAVE A GO AT THIS TODAY.

          JUST ONE OTHER THING WHERE AM I PUTTING THIS SCRIPT?

          DO I PUT IT IN A FORM SO I HAVE THE SUBMIT BUTTON OR AM I PUTTING IT IN THE PAGE HTML AND CREATING A SUBMIT BUTTON SOME OTHER WAY.

          ALSO I ASSUME MY CURRENT ACTION.PHP PAGE CAN STILL BE USED.

          DO YOU HAVE A PRIVATE EMAIL OR CONTACT AS I REALLY WANT TO STAY IN TOUCH BECAUSE YOUR THE ONLY ONE TO TAKE AN INTREST IN MY HOPE/IDEA.

          TA ASH


          PS SORRY ABOUT THE CAPITALS....

          Comment


          • #6
            Re: there must be a way

            The "Put this into your <HEAD> section" should be inserted in between the <head></head> tags. The "Put this into your <BODY> section" can be inserted into a html box and dragged wherever you want it to appear.

            If you insert the <form> html I talked about above with the rest you don't have to create a form. You will just have to add this code for the submit button.

            <input type="submit" value="Send Form" />
            the green text is the button label

            If you leave out the <form> html I talked about then you can create the form grid as normal, and insert a button using BV. Make sure the entire html box is inside the form boundaries.

            If you go to my website, watdaflip.net, I have a contact form you can contact me through.

            Register/Login Script
            Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

            Comment


            • #7
              Re: there must be a way

              Hi mate i used your site contact as well


              WOW you are on the edge of becoming a bonafide legend in my book, what other said was so hard and would cost me hundreds has turned out releitively easiy when someone happy to part with some time is willing to help.
              so ok here is where i am up too. i have loaded up two test sites (neither with a voda form i have done it your way.)
              The first is

              this for some reason wont let me scroll down even if my vaos page goes way past the bottom ??? never had that before.
              the second is

              i shortened this one till we work out the prob with the first page.
              now the only issue i have here is that while the order can be rearranged as i wished it just is missing something small that does happen in the other websites original try mine for yourself it doesnt have that little arrow and it goes all wierd off to the right. i read up on the origianl site i got it form and it speaks of the arrow but i cant get it to do what they do, the first prob is i cant right click and save target as cause that option is greyed out i can only save picture as ?????? i assume this is part of the error.
              the other prob is thta while it seems the fundementals are there and when i click submit i get an email the email only reads

              Values submitted from web site form :
              hiddenNodeIds :

              NO player names are coming through to my email??? something small i guess.
              the sript at the moment reads
              <H1>TEAM SELECTION</H1>
              <ul id="arrangableNodes">
              <li id="node1"><input type="hidden" name="players[]" value="PLAYER 1" />PLAYER 1</li>
              <li id="node2"><input type="hidden" name="players[]" value="PLAYER 2" />PLAYER 2</li>
              <li id="node3"><input type="hidden" name="players[]" value="PLAYER 3" />PLAYER 3</li>
              <li id="node4"><input type="hidden" name="players[]" value="PLAYER 4" />PLAYER 4</li>
              <li id="node5"><input type="hidden" name="players[]" value="PLAYER 5" />PLAYER 5</li>
              <li id="node6"><input type="hidden" name="players[]" value="PLAYER 6" />PLAYER 6</li>
              <li id="node7"><input type="hidden" name="players[]" value="PLAYER 7" />PLAYER 7</li>
              <li id="node8"><input type="hidden" name="players[]" value="PLAYER 8" />PLAYER 8</li>
              <li id="node9"><input type="hidden" name="players[]" value="PLAYER 9" />PLAYER 9</li>
              <li id="node10"><input type="hidden" name="players[]" value="PLAYER 10" />PLAYER 10</li>
              <li id="node11"><input type="hidden" name="players[]" value="PLAYER 11" />PLAYER 11</li>
              <li id="node12"><input type="hidden" name="players[]" value="PLAYER 12" />PLAYER 12</li>
              <li id="node13"><input type="hidden" name="players[]" value="PLAYER 13" />PLAYER 13</li>
              <li id="node14"><input type="hidden" name="players[]" value="PLAYER 14" />PLAYER 14</li>
              <li id="node15"><input type="hidden" name="players[]" value="PLAYER 15" />PLAYER 15</li>
              <li id="node16"><input type="hidden" name="players[]" value="PLAYER 16" />PLAYER 16</li>
              <li id="node17"><input type="hidden" name="players[]" value="PLAYER 17" />PLAYER 17</li>
              <li id="node18"><input type="hidden" name="players[]" value="PLAYER 18" />PLAYER 18</li>

              </ul>
              <p>

              </p>
              <div id="movableNode"><ul></ul></div>
              <div id="arrDestInditcator"><img src="images/insert.gif"></div>
              <div id="arrDebug"></div>
              <form method="post" action="action.php">
              <input type="hidden" name="hiddenNodeIds">
              <input type="submit" value="Send Form" />
              </form>


              HOPE YOU CAN SPOT THE ERRORS
              TA ASH

              Comment


              • #8
                Re: there must be a way

                HI AGAIN I HAVE PLAYED AROUND AND FOUND NOTHER SCRIPT ON THE SAME SITE THIS TIME



                AND IT IS ABSOLUTELY PERFECT

                TRIED TO IMPLEMENT TH ECHANGES WE HAD WORKED ON EARLIER AND MY RESULT IS



                PROBLEM HERE BEING THAT IT IS NOW FAILING (THE ORIGINAL SCRIPT WORKS BUT WHEN I ADD ALL MY INFO IT FAILS)??? IT LOADS AND DRAGS BUT THEY DONT LOCK INTO THE BOXES LIKE THE ORIGINAL IS MY PAGE TO BUSY AND COMPLEX WITH TOO MANY MOVING PARTS???

                ID LOVE TO GET THIS ONE WORKING AS ITS VERY SIMILAR LOOKING TO THE REAL LIFE GAME WHEN SHOWN ON TV.

                OH AND IT STILL HAS THE EMPTY EMAIL ISSUE.



                TA ASH (GOODNIGHT)

                Comment

                Working...
                X