Two ways to do this:
1) Client-side: JavaScript PopUp window with JavaScript programming to
perform/approximate whatever formatting the CF program will perform
when it displays the page from the db
2) Server-side: JavaScript PopUp window which invokes same CF Template which
formats the data from the db, except it formats data from the form
submission.
The former is more interactive, and works well if little or no
additional formatting is performed on the data in the text area (add
a bold heading, etc).
The later is better if the ultimate presentation involves extensive
formatting of the data before presentation, which would be difficult
to approximate in JavaScript.
Dick
At 11:01 AM -0400 6/29/2000, Jeff Fongemie wrote:
>Hey everyone,
>
>I have a site where the users can add text to a form that will then
>go to database, and from that a "news page" will get it's
>information. Easy.
>
>But, my client wants a way to add the text, hit enter, then preview
>it with the ability to make changes before it goes live. After the
>preview/change process he can hit another submit button to have the
>info go live.
>
>I'm looking for ideas as to where to start. Is this possible? Do I
>need 2 tables, a beta table that is used before it goes live to the
>final table? I'd need to figure out how to get the record from the
>beta table to the live table.
>
>Any better/other ideas? All help or suggestions are appreciated on
>this one...
>
>Jeff F.
>
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.