Survey On Submit Disable Form

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Survey On Submit Disable Form

    I have created a survey, and I want to make it similiar to that found on
    http:[url]http://www.nfl.com[/url]

    So that when a user repsonds to the survey, it submits and then displays the
    results, how would I get the form to not show the survey questions but now the
    results, or are they two pages the same but with that changed?

    ~Speegs

    Speegs Guest

  2. Similar Questions and Discussions

    1. Submit PDF Form
      I've created my first PDF Form in Acrobat 7.0 Professional, with a "submit-form" button. Now, I want the filled-out form to be sent as an attachment...
    2. survey form
      I want to build a survey form. What is the best way? I really want to build one that can run on a cell phone, blackberry. Im thinking flex to air....
    3. disable enter button to submit form
      I'm very new to ColdFusion - I'm building forms in Deamweaver, then using Cld fusion to pass he data to an Access Database. So far, so good. But...
    4. enable/disable submit button
      :confused; can anyone help? i want to setup a form that allows users to upload files. i'm using ASPupload and this works great! however if a...
    5. Form Field/ Form Submit Problems (probably an easy answer...)
      Hey Everyone.. I have a form that has approximately 7 text fields and 1 checkbox. Generally when this form is submitted(to itself BTW) it works...
  3. #2

    Default Re: Survey On Submit Disable Form

    Normally this is achieved with a Cookie, set when the user completes the form.

    The first page of the form or the main page will check if the Cookie is set,
    if it is set then it will tell the user they have compelted the form and direct
    them to the results, else it will let then fill in the form.


    Originally posted by: Speegs
    I have created a survey, and I want to make it similiar to that found on
    http:[url]http://www.nfl.com[/url]

    So that when a user repsonds to the survey, it submits and then displays the
    results, how would I get the form to not show the survey questions but now the
    results, or are they two pages the same but with that changed?

    ~Speegs



    CarlGrint Guest

  4. #3

    Default Re: Survey On Submit Disable Form

    Hi Speegs,

    This can be don by having the form submit to the same page it's on and set
    your display based on if statements. Here's a real rough idea of what it
    would look like in CF...


    <cfif IsDefined ('FORM.Survey')>
    Out Put the form fields submitted here...
    <cfelse>
    Display your form here..
    <cfif>

    Doing this will show the form if no form variables are present, if the form
    has been submitted, thus the form variables are present, the form would be
    hidden and the form fields submitted could be displayed.

    This is a great way to economize your code and reduce your overall page
    count.




    "Speegs" <webforumsuser@macromedia.com> wrote in message
    news:d4b6qu$ldg$1@forums.macromedia.com...
    >I have created a survey, and I want to make it similiar to that found on
    > http:[url]http://www.nfl.com[/url]
    >
    > So that when a user repsonds to the survey, it submits and then displays
    > the
    > results, how would I get the form to not show the survey questions but now
    > the
    > results, or are they two pages the same but with that changed?
    >
    > ~Speegs
    >

    Lawrence TMM Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139