Solved

Re-use value selected in dropdown-box on confirmationform

Posted on 2004-10-06
9
159 Views
Last Modified: 2013-12-24
Hi there,

On one of my webpages I let the user select a date from a dropdown-box (on a form).
After that he/she can sent the date (and some other data) to me through E-mail (mailto:.....).

QUESTION 1:
The user must select a date in the dropdown-box (validation).
If no date was selected before sending the form, he/she should receive some message on the form.

QUESTION 2:
When all is well I want the user to know that I received the reservation for the selected date.
I want to do this via a confirmationpage.
On this confirmationpage the selected date should be mentioned.
like: Your reservation for 10-10-2004 has been received

Thanks for your help
Stef
0
Comment
Question by:Delphiwizard
  • 6
  • 3
9 Comments
 
LVL 14

Expert Comment

by:hhammash
ID: 12250139
Hi,

Answer for question 1
-------------------------
You can simply put form validation in Frontpage.  Double click the drop down,  select validate and select requried.


Answer for question 2:
--------------------------
1- Create a new page
2- Select Insert>Web component
3- Go down to Advanced Controls
4- Select Confirmation Field
5- Type the name of the first field in the form that you want to display after submitting the form
6- Repeat the same procedure for all fields
7- Save the pages as ReserveConf.asp
8- Go back to the form
9- Right click the form and select form properties
10- Send to database
11- Type the URL for the confirmation page ReserveConf.asp

What happens now is that the form submits to the table and then the user will get a confirmation.


Regards
hhammash


0
 

Author Comment

by:Delphiwizard
ID: 12252687
Thanks so far.
I suppose this works with ASP scripting.
If that is the case I can't use it. My webhost only allows Java, HTML and DHTML.

Regards, Stef
0
 
LVL 14

Expert Comment

by:hhammash
ID: 12253920
Hi,

The webhost must supports something.  Frontpage Extensions,  PHP at least.  

You can do that with PHP.

The confirmation you are talking about needs a scripting language.

regards
hhammash
0
 
LVL 14

Accepted Solution

by:
hhammash earned 500 total points
ID: 12254059
Hi,

You can do that with Frontpage only,  no javascript,  no DHTML and no ASP

1- Create the form
2- Right Click the form and select form properties
3- In the Send to you have the email box.  Type your email here
4- Save the form as SubmitReservation.htm

Now
1- Create a new page
2- Save it as Confirmation.htm
3- Insert > WebComponenet > Advanced Controls > Confirmation Field
4- Type the name of the Date field which is in the form
5- Type any text that you want before or after the confirmation field

If the user enters a name in the form it will be nice if you include the name field before the date field in the confirmation page.

Example:

Dear [namefield]
Your reservation has been received.  It is on
[reservationdate]

Now go back to the form in edit view.  Right click and select form properties.  Then options.  Then click on Confirmation page tab.  Browse and select Confirmation.htm.

Save the form and you are done.

You just need frontpage.

Regards
hhammash
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 14

Expert Comment

by:hhammash
ID: 12254083
You just need a webhost that supports Frontpage.
0
 
LVL 14

Expert Comment

by:hhammash
ID: 12254114
Here is a link that shows you how to create a confirmation page.  It is with illustrations.

http://www.at-frontpage.com/2002/confirmation.htm


Regards
hhammash
0
 

Author Comment

by:Delphiwizard
ID: 12265572
Thank you very much hhammash

Stef
0
 

Author Comment

by:Delphiwizard
ID: 12265611
Hahaha,

My webhost doesn't support frontpage extensions.
Only Java, HTML and DHTML are supported.

Any other suggestions?
0
 
LVL 14

Expert Comment

by:hhammash
ID: 12266193
Hi,

You better change the host :)

0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now