How to allow users to add text to same page

R

Richard Desjardins

I am trying to create a page where users can add text to a story. What
I would like to do is have a basic story text on the web page and then a
text box where users input text and then when the submit button is hit
the text is added in an area above on the same page.

So the user would see the original story and then any text input by
visitors through the text input box and then at the bottom the text
entry box.
 
K

Kevin Spencer

I hope you realize that what you're describing is an application. A static
HTML page is simply a document. While you can use JavaScript to get a bit of
interaction in the client browser, none of it ends up on the server. So,
you're talking about writing a web application using ASP, ASP.Net, PHP, CGI,
or whatever server-side programming technology the server supports. In
addition, you will need to use a database of some kind to store the data
entered by the users. Now, FrontPage has some tools for doing the most basic
types of database interaction, but you're going to need a custom app.
Nothing fancy, but if you don't know how to program it might as well be
Calculus.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
R

Richard Desjardins

Kevin said:
I hope you realize that what you're describing is an application. A static
HTML page is simply a document. While you can use JavaScript to get a bit of
interaction in the client browser, none of it ends up on the server. So,
you're talking about writing a web application using ASP, ASP.Net, PHP, CGI,
or whatever server-side programming technology the server supports. In
addition, you will need to use a database of some kind to store the data
entered by the users. Now, FrontPage has some tools for doing the most basic
types of database interaction, but you're going to need a custom app.
Nothing fancy, but if you don't know how to program it might as well be
Calculus.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Neither a follower nor a lender be.

Thanks, I guess I will stick to a two page solution using a slightly modified
Guestbook setup.
 
J

Jim Cheshire \(JIMCO\)

Kevin said:
I hope you realize that what you're describing is an application. A
static HTML page is simply a document. While you can use JavaScript
to get a bit of interaction in the client browser, none of it ends up
on the server. So, you're talking about writing a web application
using ASP, ASP.Net, PHP, CGI, or whatever server-side programming
technology the server supports. In addition, you will need to use a
database of some kind to store the data entered by the users. Now,
FrontPage has some tools for doing the most basic types of database
interaction, but you're going to need a custom app. Nothing fancy,
but if you don't know how to program it might as well be Calculus.

You don't actually have to have a database to store the data. There are
solutions out there that will save the information into the file without
requiring a database.

Check out the reviews on my Web site. I reviewed ContentSeed which will do
somewhat what you're asking. If you have ASP.NET support, a great option is
the r.a.d.editor control from telerik. It's a bit expensive, so it depends
on your needs.

--
Jim Cheshire
JIMCO
http://www.jimcoaddins.com

Now offering templates ranging from
affordable standard templates to
powerful e-commerce applications!
 
K

Kevin Spencer

You don't actually have to have a database to store the data. There are
solutions out there that will save the information into the file without
requiring a database.

I meant database in the generic form - a permanent storage mechanism in the
file system. In that sense, a text file can serve as a database. Of course,
you wouldn't execute queries against it! ;-)

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
J

Jim Cheshire \(JIMCO\)

Kevin said:
I meant database in the generic form - a permanent storage mechanism
in the file system. In that sense, a text file can serve as a
database. Of course, you wouldn't execute queries against it! ;-)

The r.a.d.editor and ContentSeed can both save content directly to the file
you're editing. In other words, there is no file other than the Web page
itself.

--
Jim Cheshire
JIMCO
http://www.jimcoaddins.com

Now offering templates ranging from
affordable standard templates to
powerful e-commerce applications!
 
R

Richard Desjardins

Jim Cheshire (JIMCO) said:
The r.a.d.editor and ContentSeed can both save content directly to the file
you're editing. In other words, there is no file other than the Web page
itself.

--
Jim Cheshire
JIMCO
http://www.jimcoaddins.com

Now offering templates ranging from
affordable standard templates to
powerful e-commerce applications!

Thank you for all of the suggestions, I was actually able to do what I wanted
using FP2003. I created the web page that was to be my main pageand near the
bottom I inserted a Form Text Area and had the results go to a second page. I
then created the second web page that the form data was pointed to. Then back
on my main page I inserted a Web Component > Included Content > Page where I
wanted the inputed data to appear and pointed that to the page that I haad sent
the form results to.

Perhaps not the prettiest way of doing it but I achieved the results I was
looking for and I learned a little bit more about FP2003 in the process.

Thanks again for your suggestions. They are always helpful.
 
C

Chris Leeds, MVP-FrontPage

this isn't a viable solution because the FrontPage include page feature is
done at "save time" you'll need to publish or recalculate your web to get
the new content to show up on that page via the FrontPage include.

what kind of server are you publishing to? (UNIX/windows)

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
--
 
R

Richard Desjardins

Chris Leeds said:
this isn't a viable solution because the FrontPage include page feature is
done at "save time" you'll need to publish or recalculate your web to get
the new content to show up on that page via the FrontPage include.

what kind of server are you publishing to? (UNIX/windows)

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/

When the user has finished inputting there text they hit the submit button.
When the page is refreshed the new text appears. This is what I was trying to
get.
I am publishing to a Win2k3 running IIS6.
 
Top