Results 1 to 10 of 10

Thread: Creating a Form in Dreamweaver

  1. #1
    Join Date
    Apr 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Creating a Form in Dreamweaver

    Can someone tell me how to make a simple submission form in dreamweaver eg. Name, Address, Phone etc...?

    Been looking for a guide but im just lost

    Any help would be great

    Many Thanks

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Google a form mailer... something that will handle your form after.

    In your page:

    insert> form.
    insert> form objects (and choose them til you're done... be sure to include a submit button at the end)

    specify in the form tag <form action="NEXTPAGE"> as told to you by the form mailer.

    Good luck.

  3. #3
    Join Date
    Jul 2005
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Try one of these, http://www.flashattach.com for email forms with attachment capability. Or a free one at http://www.flashmailforms.com

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Flash requires a plugin. I would strongly suggest ONLY using flash when there is no viable alternative in html, php, javascript, etc. as it won't be compatible.
    In this case, with some nice css and design work, the html form can be 100% compatible and just as "nice" as those flash ones.

    I know there are people that like flash, but it's proprietary, fairly incompatible and takes extra time to download on a page. Just not worth it if you don't need it.

    Plus, if you're not used to adding a fairly simple form to your page, it isn't time to start dealing with plugins that require more advanced knowledge. Stick to the basics and it'll probably turn out better (as well as being easier for you)

  5. #5
    Join Date
    May 2006
    Posts
    38
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I can make one in NotePad.
    HTML Code:
    <html>
    <head></head>
    <body>
    <form>
    <form action="databasefile.ext">  //The database file or whatever 
    <p><input name=Name><input type=text><input coords="x1,y1,x2,y2"></p>
    <p><input name=Memo><input type=memo><input coords="x1,y1,x2,y2></p>
    </form>
    </body>
    </html>
    I think that's right. I could be wrong, though. Sorry in advance if i am.

  6. #6
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Huh? .ext? database file? Coords? "memo"?
    I'm not sure what those mean.

    This is absolutely not a normal form, but might be very good at a specific task.

    the original poster was asking for a general form, I think, so what you posted might work for your specific needs, but i'm not sure it will work for what he's asking. His question was vague... so the only thing we can do is suggest, as I did above, he use insert>form/form objects.

  7. #7
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,878
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    This is absolutely not a normal form, but might be very good at a specific task.
    No, it's just totally malformed
    Code:
     <form action="handlerscript.php" method="post">
      <input name="Name" type="text">
      <input name="Memo" type="text">
      <input type="submit">
    </form>
    ... is, I think, what you meant to say.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  8. #8
    Join Date
    Apr 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    OK below is the form I made. I want it to be submitted to bookings@thevictorianlodge.co.uk using Form Mail (which I dont understand) and to be forwarded to a page called thankyou.html after it is submitted. If someone can prepare the formmail file and the form I would be most greatful!

    MAny Thanks Guys!

    Code:
      <form id="form1" name="form1" method="post" action="http://www.thevictorianlodge.co.uk/FormMail.pl">
        <label><span class="style7">Contact Name
        <input name="Name" type="text" id="Name" />
        </span></label>
        <span class="style7">
        <label>Home Phone
        <input name="Home Phone" type="text" id="Home Phone" />
        </label>
        </span>
        <p class="style7">      
          <label>Work Phone
          <input name="Work Phone" type="text" id="Work Phone" />
          </label>
          <label>Mobile Phone
          <input name="Mobile Phone" type="text" id="Mobile Phone" />
          </label>
        </p>
        <p class="style7">
          <label>Address
          <textarea name="Address" cols="40" rows="6" id="Address"></textarea>
          </label>
        </p>
        <p class="style7">
          <label>Number of Adults Staying
          <input name="Adults Staying" type="text" id="Adults Staying" size="3" />
          </label>
          <label>Number of Children Staying
          <input name="Children Staying" type="text" id="Children Staying" size="3" />
          </label>
        </p>
        <p class="style7">
          <label>Date Wishing to Staying From
          <input name="Staying From" type="text" id="Staying From" />
          </label>
          <label>Date Wishing to Stay Until
          <input name="Staying Until" type="text" id="Staying Until" />
          </label>
        </p>
        <p class="style7">
          <label>Flatlet Wishing to Stay In
          <input name="Flatlet Requested" type="text" id="Flatlet Requested" />
          </label>
        </p>
        <p class="style7">
          <label>Comments &amp; Questions
          <textarea name="Questions &amp; Comments" cols="50" rows="5" id="Questions &amp; Comments"></textarea>
          </label>
        </p>
        <p class="style7">
          <label>
          <input type="submit" name="Submit" value="Submit Form For Processing" />
          </label>
        </p>
      </form>

  9. #9
    Join Date
    Apr 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Can anyone help? Pretty Please!

  10. #10
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by chrislowthian
    Can anyone help?
    There is no single form processor, nor one single way in which they are configured. There should be usage instructions, an FAQ, or support information at the site where you obtained the code. You should look there for help.

    Good luck,
    Mike

Bookmarks

Posting Permissions

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