Solved

Re-use value selected in dropdown-box on confirmationform

Posted on 2004-10-06
9
162 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
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 add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

749 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