?
Solved

Running script without reloading form

Posted on 1998-10-29
2
Medium Priority
?
177 Views
Last Modified: 2013-12-25
I have a form with two main sections: one for registration data and one for comments.

I would like the user to be able to submit comments independently of registration. i.e. if a user is having trouble registering he/she can enter a comment, click a Submit Comment button and it will be e-mailed without reloading/refreshing the page, similar to the way that a Reset button resets the form without reloading it. I want
the mailing to be completely transparent to the user.

Is there any way to do this with cgi, or will I have to
use something else like javascript?

Thanks.


Oliver
0
Comment
Question by:oliverp101698
2 Comments
 
LVL 1

Accepted Solution

by:
rajgn earned 150 total points
ID: 1829357
You can't e-mail any data without submittting the page as you do with Reset button. This is because you've to use some application from server side to send the e-mail which requires a request from the user in the form of submission. For your task, I can suggest you one way. Put registration part and Comments part in seperate frames(you can set border '0' and can make both the frames look like contained in one page). Then you can control both the parts independently. If a user submit any comment, process it on server side to send the email(without disturbing registration part at all)
0
 

Author Comment

by:oliverp101698
ID: 1829358
Thanks rajgn, I had thought of the frames solution myself but
I want to avoid using frames. Anyway, now that I know it can't
be done with a cgi script I can stop rattling my brain about it,
and consider the frames option some more.


Oliver
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses
Course of the Month16 days, 17 hours left to enroll

862 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