Solved

Re-use value selected in dropdown-box on confirmationform

Posted on 2004-10-06
9
160 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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
 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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 …
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

776 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