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:

Just a thought (1998) Sorry WebDNA server not running ????? (2002) can WC render sites out? (1997) Plugin or CGI or both (1997) group searching problem (2002) Further tests with the infamous shipCost (1997) PIXO (1997) OT: Unix talk deamon (2004) select multiple (1997) Encrypting WebDNA Templates (1999) Problems with [Search] param - Mac Plugin b15 (1997) [WebDNA] I'm stuck... :-( (2009) Almost a there but..bye bye NetCloak (1997) WebCatalog2 Feature Feedback (1996) WebCatalog as a ListServ (1998) Multiple Currencies (2002) Reindexing a db with duplicate numbers... (1999) Too Much Rootbeer Free Offer (1997) WebDNA vs PHP (2003) ShipTotal Again (1998)