Re: Simple Page

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26154
interpreted = N
texte = Try this Form page============== [showif [action]=edit] [replace db=some.db&eqSKUdata=[SKU]]ContentInDB=[FormContent][/replace] [/showif] [search db=some.db&eqSKUdata=Some_SKU_Number&max=1] [founditems]
[/founditems] [/search] End Form page=========== Display page============ [search db=some.db&eqSKUdata=Some_SKU_Number&max=1] [founditems] [convertchars][ContentInDB][/convertchars] [/founditems] [/search] End Display Page========Note the use of [input] in the textarea. This keeps the formatting when you bring the text back in from the database to be re-edited. You can get more out of your formatting if you use a custom conversion database. The syntax is [convertchars db=MyConversions.db]Good luck. -- Mike Davis, President Network 13, Inc. http://www.network13.net/ LocalsOnline.com, Inc. http://www.localsonline.com/ Voice Of The Internet, Inc. http://www.voiceoftheinternet.com/ ICQ: 6572635If I had more time, I would have written less. - Mark Twain> From: Jeff Logan > Reply-To: (WebCatalog Talk) > Date: Thu, 13 Jan 2000 17:54:25 -0800 > To: (WebCatalog Talk) > Subject: Re: Simple Page > >>> Any one know or have a template of this. I need to be able to have a >>> customer fill in a form on an admin page and then the text show up >>> exactly as they type it in there web site. >> >> Are you storing this data in a database? >> > > > Yes > > >>> But I do not want to have >>> any extra info in the address of the page. Any ideas? >> >> Wrap the [fieldName] tag (which appears inside the founditems >> context on their web page) in a convertchars context. > > Got any other info for me.... I have no idea where to start I am a > newbie at this still. > > Jeff > > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. > To end your Mail problems go to . > > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: Simple Page (Mike Davis 2000)
  2. Re: Simple Page (Jeff Logan 2000)
  3. Re: Simple Page (Kenneth Grome 2000)
  4. Simple Page (Jeff Logan 2000)
Try this Form page============== [showif [action]=edit] [replace db=some.db&eqSKUdata=[SKU]]ContentInDB=[FormContent][/replace] [/showif] [search db=some.db&eqSKUdata=Some_SKU_Number&max=1] [founditems]
[thisurl] METHOD=post>
[/founditems] [/search] End Form page=========== Display page============ [search db=some.db&eqSKUdata=Some_SKU_Number&max=1] [founditems] [convertchars][ContentInDB][/convertchars] [/founditems] [/search] End Display Page========Note the use of [input] in the textarea. This keeps the formatting when you bring the text back in from the database to be re-edited. You can get more out of your formatting if you use a custom conversion database. The syntax is [convertchars db=MyConversions.db]Good luck. -- Mike Davis, President Network 13, Inc. http://www.network13.net/ LocalsOnline.com, Inc. http://www.localsonline.com/ Voice Of The Internet, Inc. http://www.voiceoftheinternet.com/ ICQ: 6572635If I had more time, I would have written less. - Mark Twain> From: Jeff Logan > Reply-To: (WebCatalog Talk) > Date: Thu, 13 Jan 2000 17:54:25 -0800 > To: (WebCatalog Talk) > Subject: Re: Simple Page > >>> Any one know or have a template of this. I need to be able to have a >>> customer fill in a form on an admin page and then the text show up >>> exactly as they type it in there web site. >> >> Are you storing this data in a database? >> > > > Yes > > >>> But I do not want to have >>> any extra info in the address of the page. Any ideas? >> >> Wrap the [fieldName] tag (which appears inside the founditems >> context on their web page) in a convertchars context. > > Got any other info for me.... I have no idea where to start I am a > newbie at this still. > > Jeff > > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. > To end your Mail problems go to . > > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Mike Davis

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCatalog for guestbook ? (1997) Help name our technology! I found it (1997) Did you hear about this? (1997) Not exercising the code as much as in other betas (2000) New WebDNA Solutions ... (1997) Creating 404 Not Found pages (1999) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Keep away (1997) [delete] problem (1997) docs for WebCatalog2 (1997) search engines (2001) Sort Order on a page search (1997) Displaying search results in a new frameset (1997) [WebDNA] Webcat install on Windows 2003 Server web edition - (2010) For those of you not on the WebCatalog Beta... (1997) Search/sort in URL Was: GuestBook example (1997) Frames and WebCat (1997) No answers by SM? (2000) Re:quit command on NT (1997) Complaints about (2003)