Confirmation Page (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


Ghoztz -> Confirmation Page (10/29/2002 13:43:04)

Hello all,

Need some help with the confirmation page.

The form is here:
http://www.creditrestore4u.com/platinumcards.htm

When submitted it goes here:
http://www.creditrestore4u.com/_vti_bin/shtml.dll/platinumcards.htm

I want it to go here when submitted:
http://www.creditrestore4u.com/PaybyCHeck.htm

Have tried to use the full path to page, no go, still
goes to:
http://www.creditrestore4u.com/_vti_bin/shtml.dll/platinumcards.htm

Why am I seeing " _vti_bin/shtml.dll/platinumcards.htm"

Any help would be appreciated! Thank you.




leatherlips -> RE: Confirmation Page (10/29/2002 14:42:38)

Have you tried this?

1. Right click on your form and choose Form Properties.

2. Click the Options button.

3. Click the Confirmation Page tab.

4. Enter your destination URL in the space provided and click OK.



If your form is being sent to a database, then follow these steps instead.

1. Right click on your form and choose Form Properties.

2. Click the Options button.

3. Enter your destination URL in the space provided and click OK.




Ghoztz -> RE: Confirmation Page (10/29/2002 15:14:39)

Thanks for the reply Leather.

The URL has always been entered in the Confirmation Page
space under options. It just will not go there.
Keeps going to the http://www.creditrestore4u.com/_vti_bin/shtml.dll/platinumcards.htm

Where is this located: _vti_bin/shtml.dll?

Think it might have to do with the extensions?

The data goes through to the specified email, the only
problem is the confirmation page.

Thanks anyway!




hhammash -> RE: Confirmation Page (10/30/2002 5:10:21)

Hi,

Look in your form properties >Options>Action
and see where you are posting it.

Regards
Hisham




AlS -> RE: Confirmation Page (10/30/2002 12:09:52)

Ok, dumb question of the day re Confirmation Pages. I have a number of forms on my site and so far I' ve just been using the FP confirmation page.
Would be nice to have a custom page....can I have all form input go to the same confirmation page or will I need a separate one for each form?
Thanks.....




leatherlips -> RE: Confirmation Page (10/30/2002 16:00:56)

AlS,

If you just want to have a simple " Thank You" page as your confirmation page, you could certainly use it to have all of your forms go to it. However, if you have specific info related to each form, you should make different confirmation pages for them.




AlS -> RE: Confirmation Page (10/30/2002 16:05:52)

Thanks Leatherlips....that' s what I was thinking.
It' s not as simple as just adding a URL to the form and have it go to that page, right? I' ll have to have confirmation fields, etc. that match the confirmation fields in each form....right?




leatherlips -> RE: Confirmation Page (10/30/2002 16:21:09)

If you want the confirmation page to include the results of the form, then yes, you will need to create a confirmation form with the appropriate confirmation fields. I would suspect that if you have different forms, you will need different confirmation pages to accomodate them.

If you don' t need to require that the confirmation page display the results of the form, then you could make a simple page that says something like, " Thank you for filling out the form" . A page like this could be used by any form you have.

It all depends on what you need your confirmation page to display to your users. Some of my forms just say " Thank You" while others show what they input so they can double check it.




AlS -> RE: Confirmation Page (10/30/2002 16:23:58)

Thanks.....sounds like this will be a " project" when I have some free time ;)
The confirmation page would need to show what they input so they could verify it. Thanks again.....




pageoneresults -> RE: Confirmation Page (10/30/2002 20:45:45)

There is a very simple way to do this if you know your way around in preview and html mode. Open your contact form or whatever you have it called. Do a save as and give it a name like...

contact-confirmation.htm

I' ve been building FP forms for over 7 years and know just about every little tip they don' t tell you in the books! With your contact-confirmation page open, double click on your first form field. A Text Box Properties dialog will pop up and the Name will already be selected (highlighted). Control c to copy the name. Close the Text Box Properties dialog box.

Now insert your cursor in front of that same form field that you just copied the name from. Then go to...

Insert > Web Component > Advanced Controls > Confirmation Field

It will ask you to name the field. Control v to paste the name that you copied from the Name field of the Text Box Properties. You' ll now have that Name appear like this in front of the form field...

[CompanyName]

You' ll notice that you cannot edit that as if it were text. This is an FP webbot and when you double click it, you can then edit the property, there is only one and it should use the same exact Name that the form field uses right down to the case. The webbots are case sensitive.

Next thing you do is delete that form field that you just inserted a confirmation field for. Click once on that new confirmation field, control c to copy, then control v to paste right in front of your next form field. Double click the form field, control c and copy the Name, double click your confirmation field, control v to paste the Name.

Go through that same process for each form field until you have eliminated all fields and have nothing but confirmation fields.

Next thing you want to do is go into html view and strip out the <form> tags from the save as routine. Remember, we saved the contact form which was enclosed in <form></form>. The confirmation page does not require a form element.

To see this all in action, you can test it out on the SEO Consultants Directory. We have one page using the FP confirmation. All the others have been converted to asp using a very similar technique to the FP confirmation without webbots.

Here is the Contact Us page...

[url=" http://www.seoconsultants.com/contact.htm" ]Contact[/url]

Here is the Confirmation page...

[url=" http://www.seoconsultants.com/contact-confirmation.htm" ]Contact Confirmation[/url]

Go ahead, give it a try. You can enter Testing for all the fields and it will let you by. Just make sure you have the minimum number of characters for those fields marked with an asterisk.

When you are looking at the confirmation page without going through the process of filling out the contact form, you will see bold areas that contain the Name of the Confirmation Fields. They don' t appear like that if you go through the submit process. That' s why you may want to test it out and see how it works. I' ve totally customized the process of confirmation pages using FP.

The last thing you need to do open your contact.htm page, right click within the form area and go to...

Form Properties > Options > Confirmation Page

Browse to that new contact-confirmation.htm page and select it. Now you are ready to go. Make sure you set all of your other preferences for your form including how email results are formatted. I' ve found using the plain HTML option is probably the cleanest.




Ghoztz -> RE: Confirmation Page (10/31/2002 13:54:58)

Thanks to all for the help! Works fine now.
Seems a form on the confirmation page
was blocking it from coming in. Thanks Again!




csrob1 -> RE: Confirmation Page (12/20/2005 11:30:38)

Hi Ghoztz,

I am having the same problems that you were. I have tried pretty much everything. Created new pages, changed code but I am still getting the _vti_bin/shtml.dll code in the url instead of the confirmation page.

I have a few sites that are on a mixture of servers with forms that work without this problem.

I would appreciate any help that you can give.





AMysticWeb -> RE: Confirmation Page (12/20/2005 18:34:55)

The best place to start is a URL for the form page.




cstyles -> RE: Confirmation Page (1/10/2006 12:38:17)

Can anyone help me!
I'm trying to publish a confirmation page that my form will divert to once the information has been submitted.
If I go to form properties > options > confirmation page > the option to browse for URL of confirmation page is not highlighted, so I can't click on it. So although I have a confirmation page, saved in the correct folder, I can't point to it, an dif I type in the address manually (confirmation.htm) it doesn't work. I've tried putting ../../ infront of it.
The form directs to J'...\--WEBBOT-SELF--. when submitted.
Also, the default confirmation page doesn't work either.
Any ideas???




AMysticWeb -> RE: Confirmation Page (1/10/2006 13:16:58)

Hi cstyles,

Realize this wasn't originally in response to your question. But, did you happen to notice my last post here.

quote:

The best place to start is a URL for the form page.





cstyles -> RE: Confirmation Page (1/11/2006 4:53:10)

I did see that, and if you mean typing in the URL of the confirmation page under the 'confirmation page' tab in properties, such 'confirmation.htm' I did try that, and it still came back saying 'This page cannot be displayed' when I viewed it in a browser. The thing that puzzles me is why it won't let me 'Browse' to find the confirmation page.
the confirmation page I have created simply say 'thank you...' and is nothign fancy like a form etc. The site is not currently live, but when it was, it still didn't work, would that make a difference?




AMysticWeb -> RE: Confirmation Page (1/11/2006 11:01:48)

Very good question. My preference is to view the form to see if there might be something wrong with the settings, rather than guessing blindly. I can learn more from a published page.

If the form hasn't been published yet you could include the full page HTML in a post and we could take a look.

Also, make sure the extensions are turned on for the page in question.


Enabling Extensions on Page:

In FrontPage 2000 & 2002:

Tools >> Page Options >> Compatiblity and check "Enabled with Microsoft Server Extensions"

In 2003:

Tools >> Options >> Authoring and check "Browse-time Web Components"




cstyles -> RE: Confirmation Page (1/11/2006 11:13:08)

Thank you for helping me and attempting saving my sanity!

All the extensions are already turned on for both the form and confirmation page.

I will email the code to you if that's ok, save taking up room on here!




AMysticWeb -> RE: Confirmation Page (1/11/2006 11:39:00)

I got the code, but best to post here in the future. It is possible the code code might benefit other users.

At this point, the only guess I have is that this form page isn't part of a web. This would eliminate browsing, as there would be no pages to browse to unless it is contained within a web.

When working with FrontPage, always start a new web via File >> New >> Web and use File >> New >> Page to add pages.

When working on a current web. be sure to open the web before adding pages to it.




cstyles -> RE: Confirmation Page (1/11/2006 11:56:23)

Not sure what you mean by
quote:

..."isn't part of a web. "
The website isn't online yet, but is all within one folder.
Are you saying the website has to be live to be able to view the cofirmation page?

When opening a new page I go to File>New...but don't see the option fo Web and use File>New>Page to add pages.

How do I add pages to a current web, other than to uload the file to the live folder?




AMysticWeb -> RE: Confirmation Page (1/11/2006 23:10:33)

Creating pages and placing them in the same folder doesn't mean these pages are part of a web.

You can create a web and then add pages to it or you can create pages by themselves. The latter is not a web, it is a folder of disconnected pages.

If you are using FP 2K or 2002, when FP is open, you go to File >> New >> Web If you don't see web, then you may need to expand the menu. It is there. You will then see the dialog open and see something like C:\Documents and Settings\Owner\My Documents\My Webs\nameofweb You would replace the bold part with the name of your web folder.

Then you could add pages via the aforementioned method.

In '03 it is File >> New then look in the right pane for New Web site To start out just stick with a One page web.

If you have not followed this process, then I think you have disconnected pages and this is why there is no Browse for the Confirmation Page. If it were an actual web, then the other pages in the web would appear when Browse is selected.




cstyles -> RE: Confirmation Page (1/12/2006 4:46:30)

Thank you for your, help, I think that's something I'll look into.

Meanwhile I've solved the problem, by replacing Front Page's 'Webbot' extension with 'php' coding, and it works fine.

For example "<FORM METHOD="POST" ACTION="processform.php">" insrtead of "<!--WEBBOT BOT=SaveResults S-Email-Format="TEXT/PRE" S-Email-Address="cstyles@allcockandgrieves.com" B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="FALSE" S-Email-Subject="Web reply" S-Date-Format="%d %B %Y" S-Time-Format="%H:%M" S-Builtin-Fields="Date Time" U-Confirmation-Url="confirmation.htm"

and then have a "processform.php" that does all the thinking.

Thank you again for helping me.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.109375