
VJ1
Deleted
May 22, 2000, 5:40 AM
Post #1 of 1
(414 views)
|
|
program that prints form and prints results on submit
|
Can't Post
|
|
Hi, I need a program that I can use in Html page as SSI inclode <!--include -->. The program should print out a form asking user to enter say date of birth. On submit the form should display a message based on date of birth on the same html page.On submit it should not redirect to any other page.. instead it should refresh the same html page. I tried programming this and I was successful in first part. For example, if the script is birthdate.cgi and html page is test.shtml, this html page will have a <!-- include=\birthdate.cgi\--> and when user loads test.shtml page it displays a form asking user to enter date of birth, I just have these form as print statements in the cgi script. This part works perfectly fine. But when user enters the date of birth and click SUBMIT, the browser is redirected to birthdate.cgi fiel itself and displays the the message that i want to display . Please let me know where can i get a script/or how do i modify so that upon submit same html page is refreshed but the message displayed will be different . Thanks, Vj
|