?
Solved

Re-use value selected in dropdown-box on confirmationform

Posted on 2004-10-06
9
Medium Priority
?
164 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
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 
LVL 14

Accepted Solution

by:
hhammash earned 2000 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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

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…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. 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 : Go t…

770 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