Results 1 to 7 of 7
  1. #1
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    How to set up a Booking Form in Front Page (2000/2002)

    This is similar to someone else's question about an EMail form, but possibly slightly more complicated.

    I want to set up a web page which will enable the contents of a filled-in form to be emailed to a specified address. The form will ask the user to enter things like :
    Name
    Firm
    Address (several individual lines)
    Telephone number
    Course name
    Special requirements (several lines worth of enterable space)
    Comments/Further information (even more lines of enterable space)

    I suspect this particular wheel has been previously invented, or can be readily adapted from something.

    Assume FPSE2000 on the server, but my total ignorance of CGI scripts or Perl (I can write BATch files, though, which is undoubtedly no use whatever!).

    Bright and simple ideas much appreciated! Many thanks.

    John
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How to set up a Booking Form in Front Page (2000/2002)

    This is actually very simple, unless you want something sophisticated like a pop-up asking each question in turn!
    FP does it all for you - the Server Extensions ARE required to handle the responses so you do need to publish the form to test it.

    Insert > Form > Form will give you a Submit and Reset button in a dotted form area.
    Within that area, press CR to give you more space then
    Insert > Form > Text Box will give you entry fields
    Right_click within the Form area will give you a window as below - you simply enter the email address you want the info sent to.
    Right click over a field and select Form field properties - the name will be used on the reply form as a heading to the text entered.

    Have a look at my humble effort <A target="_blank" HREF=http://www.chearsley.com/classifieds2.htm>here</A> for an example - some data removed for publication here

    There are a few things to learn about labels and error checking (validating) - trial and error was the way I learnt!
    Attached Images Attached Images
    • File Type: gif x.gif (5.2 KB, 0 views)

  3. #3
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: How to set up a Booking Form in Front Page (2000/2002)

    I wrote about <A target="_blank" HREF=http://www.wopr.com/cgi-bin/w3t/showthreaded.pl?Cat=&Board=front&Number=34352&Sear ch=true&Forum=front&Words=webgenii&Match=Username& Searchpage=6&Limit=25&Old=allposts&Main=34259>this </A> question some time back - and at that time I said (as I believed) that the web server had to be configured in order to pass the mail on to the mail server.
    You don't mention doing this Leif, did you find a way around this requirement?

    Yrs. Curious
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  4. #4
    3 Star Lounger
    Join Date
    Dec 2000
    Location
    New Zealand
    Posts
    295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How to set up a Booking Form in Front Page (2000/2002)

    John if you find that Frontpage extensions aren't loaded then CGI can easily handle what you need without you needing to write scripts etc. Just check that there is a mail script at the server and the locatin. You can then pojnt to it with a small piece of code like the attached file - hope its readable. To see the page go
    <A target="_blank" HREF=https://secure.webnz.co.nz/edgewater/Reservationform.htm>here</A>. This is a reservation form for a homestay which was built in FP but sits on a Unix server without FP extensions.

    Hope this helps
    Attached Images Attached Images

  5. #5
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: How to set up a Booking Form in Front Page (2000/2002)

    Well, in my whole saga of trying to set up a website, the sending of an EMail to myself via a Form on the website has been very straightforward, and I didn't need to contact the ISP at all, them having installed FP Server Extensions being sufficient, it would seem.

    Less so the construction of the form, where <UL><LI>I was unable to get all the input-area one-line and multiline boxes to line up vertically without using a fixed-pitch font for the labels which preceded them<LI>I found that data entered into one-line boxes came out in Arial Bold whereas data entered into multi-line boxes came out in Courier New regular (and BOTH should have come out in the Default Font, according to their Properties)<LI>I couldn't get a label to precede a multiline box at the top of the box, only at the bottom. I can get this to work for graphics, because of the range of options you get given, but there don't seem to be any for entry boxes![/list]. Ho-hum... <img src=/S/crybaby.gif border=0 alt=crybaby width=15 height=15>
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  6. #6
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How to set up a Booking Form in Front Page (2000/2002)

    I always resort to using tables for alignment in such cases, the left cell holds the 'title', the right cell holds the entry field. The cells need to be formatted with vertical alignment to be 'top' to get the effect you want.
    (FP allows you to insert tables within tables.)

    (Attachment below may give you an idea how it is done, hopefully the background colour will display the cell outlines clearly.)

    Why FP defaults to different fonts depending on the number of entry rows is beyond me. However you can change the font used in the entry field:
    Right_mouse form field and select Form field properties
    Up pops a window: Text Box Properties
    Bottom left - click on the 'Style' button
    Up pops a window: Modify Style
    Bottom left - click on the 'Format' button
    From the drop down box select Font
    Attached Images Attached Images
    • File Type: gif x.gif (3.6 KB, 0 views)

  7. #7
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: How to set up a Booking Form in Front Page (2000/2002)

    Leif

    I actually tried something similar to what your picture shows -- but with only a single cell at the left and a single cell at the right. My problem was trying to get the text at the left to line up with the one-line and multi-line boxes at the right; for some reason getting the spacing correct was almost impossible. Hence the reversion to a fixed pitch font.

    I doubt I will be able to do any festive website work until after Christmas!

    John
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

Posting Permissions

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