A Submit button that does two things

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default A Submit button that does two things

    I have built a form with a submit button on it in Dreamweaver. I have used all
    the resources available to me to try and figure out how to get this form to
    e-mail the users answers to me and also redirect the user to a "Thank you"
    page.

    Can anybody help me with the code or the scripting of this? I was told by our
    IT techs that it was some kind of java script.


    Thank you in advance!:confused;

    stephaniewhitlock Guest

  2. Similar Questions and Discussions

    1. Submit button
      I have a web form with a few text fields some validataion and a submit button. When I click the submit bittin the serverside event does not...
    2. [PHP] using submit button and PHP-HELP
      thanx for your help, Ive got flu and all these small things seem to be escaping my eyes. I just want to ask you a small question: If i want this...
    3. using submit button and PHP-HELP
      Hi, I have a form that has a submit button in it, when the button is pressed I want it to reload the same page, with the same URL, however when I...
    4. value submit button
      You can get the button value use code below: <?php echo $_POST;?> <form method="post"> <input type="submit" name="submit" value="submit1">...
    5. Help with Submit button...
      Hi, I have a graphic, I wanted to use it for a submit button. For some reason it does not work.. it acts more of a link. The problem with...
  3. #2

    Default Re: A Submit button that does two things

    There are only two ways to process form data -

    1. Use mailto:name@domain.com as the action of the form
    2. Use a server-side scripting method to a) harvest the form's data, b)
    process it in some manner, e.g., enter it into a database, c) formulate and
    send an email to one or more email recipients, and d) redirect the visitor
    to some ending page

    Method 1 is quite simple, and is also the least reliable. It depends both
    on your visitor having an email client already installed on their computer -
    this eliminates public computers, or home users without email clients
    installed (more and more it seems) - and on the installed email client
    responding to
    the mailto call. It is not possible to use this method *and* send the
    visitor to a
    thank you page as well.

    Method 2a is the preferred method, since it eliminates the problems of
    method
    1, but it means that you have to grapple with server-scripting somehow (ASP,
    CF, PHP, perl, etc.).

    Method 2b would be to use some third-party form processing, like
    [url]http://www.formstogo.com[/url].

    You would have to decide which of these methods is best for your needs,
    but if it's Method 2a, then start by asking your host what they provide for
    form
    processing. If it's 2b, then read their FAQ/instructions carefully.


    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "stephaniewhitlock" <webforumsuser@macromedia.com> wrote in message
    news:eln6no$mrm$1@forums.macromedia.com...
    >I have built a form with a submit button on it in Dreamweaver. I have used
    >all
    > the resources available to me to try and figure out how to get this form
    > to
    > e-mail the users answers to me and also redirect the user to a "Thank you"
    > page.
    >
    > Can anybody help me with the code or the scripting of this? I was told by
    > our
    > IT techs that it was some kind of java script.
    >
    >
    > Thank you in advance!:confused;
    >

    Murray *ACE* 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