How to create Survey Form...?
Results 1 to 5 of 5

Thread: How to create Survey Form...?

  1. #1
    Senior Member
    Join Date
    May 2003
    Posts
    217

    How to create Survey Form...?

    Hi all, Im sorry, i'm not sure where to put this thread, so I just assume it is here. I like to ask you all what language should I use to create survey/questionnaire form online, Can I use Javascript, or DHTML, HTML? Because I'm not really sure in this thing.

    Let say, If I click option button number A, and haw to make option B,C,D n etc disable?

    Please help me...

  2. #2
    Senior Member
    Join Date
    May 2003
    Location
    Area-51
    Posts
    148
    http://www.cgi101.com/class/

    Check out Chapter 5
    It is impossible to make anything foolproof because fools are so ingenious. - Murphy
    CooLL.Net

  3. #3
    Senior Member
    Join Date
    May 2003
    Posts
    159
    JohnHack.....

    Use Javascript for gathering info.... u could also use ASP scripting to gather information and load it to a database.....

    But what is imp. is the purpose of the form.... Kindly ellobrate on what u want the survey form to do for u......

    Also there are ready made scripts available for Poll Engines just google and find them out..

    All the best



    I suggest you visit www.dynamicdrive.com
    ****** Any man who knows all the answers most likely misunderstood the questions *****

  4. #4
    Senior Member
    Join Date
    Jan 2002
    Posts
    227
    I think that you can use simple form written in html / xthml. Input type would be radio... That will ensure that people would be able to choose only one option. And the form action will be post a clicked field to some php/asp whatever script that will procces it. Something like this:

    Code:
    <form name='novinky' action='./novinky.php' method='post'>
        <input type='radio' name='NovVypracoval' value='option1' />option 1
        <input type='radio' name='NovVypracoval' value='option2' />option 2
        <input type="submit" value="Submit" />
    </form>
    and the script could be something like this:

    PHP Code:
    <?
    echo 
    "you have pressed ".$NovVypracoval.".";
    ?&
    gt
    Or of course something more complicated - you can put result in database, make some stats, whatever.

    Or you can use (as prev posters said) javascript. That will cause that the data won't be send to the server but will be processed directly on users computer.

    And to make some terms clear - DHTML is not a standart defined by w3 consorcium. I think that we can say that DHMTL is nothing else than mix of HTML, CSS and JS.
    http://promote.opera.com/small/opera94x15.gif

    [gloworange]Sun7dots[/gloworange]

  5. #5
    Senior Member
    Join Date
    May 2003
    Posts
    217
    How to enable the checkbox if more than 1 using javascript?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •