Web Hosting Talk







View Full Version : Form Coding


boyatny
08-13-2005, 04:28 PM
I have created an HTML form in dreamweaver, i need few codes to insert, can some one tell
what & where to insert for the following actions to take place:

In the form "Action" field i have typed the following code given by yahoo (this cannot be changed) http://us.1.p.webhosting.yahoo.com/...gin=my_yahoo_id)

1. After form is submitted iam taken to this above url which looks very odd. I want it to show
the confirmation.htm page designed by me instead of the above url.

2. I need a code to validate a checkbox fileld which is meant for "I accept user agreement"
eg: if field is left unchecked then user must be prompted "Please accept the agreement"

I request programmers to please help me. Thanx

Tim Greer
08-14-2005, 02:26 AM
I'm not sure I understand your question? You are saying you want to post from your own web site's form, TO a Yahoo script, but instead of showing the content/output of the script you actually posted to on Yahoo, you want the form submitter to see the resulting page on your own site? If so, there's a few ways to do that.

One solution that's simple that I'd do, is just make an underlying connection from your site, to the Yahoo server and script, and have the script on your end grab and parse the resulting output of the yahoo script submission and simply have your own script determine what message or information to output based on the reply from the Yahoo server's script.