Solved

Re-use value selected in dropdown-box on confirmationform

Posted on 2004-10-06
9
163 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
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 properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
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…

707 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