Adding extra coding on the fly?

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 63240
interpreted = N
texte = I'm looking to solve a problem I've come across trying to handle data in an existing database system that we have inherited. The field that is causing me the problems, is an almost free form field which allows non-technical users to enter text to be displayed online. To give you an example of the data... This is a text field which will be displayed online, below this text we have a list.
  • item 1
  • item 2
  • item 3
  • item 4
  • item 5 And then we will have a footer. To allow the data input person to not have to worry about learning any code, they work to two very basic rules. "If you want a bullet point, type
  • " "If you want a new line, just hit return" To process this data when called, it's run through a custom conversions.db which converts the CR to
    , and the
  • is displayed as is. This actually works OK (within reason), the problem I now have is that I need to use this database in CSS pages, which means that... a) I need to add the closing
  • to each bulleted line b) I need to add
    to each line, except those after a
  • otherwise I get double line-spacing As this database is still being used, and the data continues to be entered in a basic non-technical way, I'd ideally like to do all this on the fly. I've tried using some extra custom conversions.db, but haven't been able to get the result needed. Any suggestions? Thanks. Mark. ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

        
    1. Re: Adding extra coding on the fly? ( Mark Derrick 2005)
    2. Re: Adding extra coding on the fly? ( William DeVaul 2005)
    3. Re: Adding extra coding on the fly? ( Daryl Mitchell 2005)
    4. Adding extra coding on the fly? ( Mark Derrick 2005)
    I'm looking to solve a problem I've come across trying to handle data in an existing database system that we have inherited. The field that is causing me the problems, is an almost free form field which allows non-technical users to enter text to be displayed online. To give you an example of the data... This is a text field which will be displayed online, below this text we have a list.
  • item 1
  • item 2
  • item 3
  • item 4
  • item 5 And then we will have a footer. To allow the data input person to not have to worry about learning any code, they work to two very basic rules. "If you want a bullet point, type
  • " "If you want a new line, just hit return" To process this data when called, it's run through a custom conversions.db which converts the CR to
    , and the
  • is displayed as is. This actually works OK (within reason), the problem I now have is that I need to use this database in CSS pages, which means that... a) I need to add the closing
  • to each bulleted line b) I need to add
    to each line, except those after a
  • otherwise I get double line-spacing As this database is still being used, and the data continues to be entered in a basic non-technical way, I'd ideally like to do all this on the fly. I've tried using some extra custom conversions.db, but haven't been able to get the result needed. Any suggestions? Thanks. Mark. ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Mark Derrick

    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:

    [protect admin] (1997) Mac Vs WindowsNT (1997) requiredfields (2002) Location of Browser Info.txt file (1997) multiple search commands (1997) cybercash (2002) rotating thumbnails (1997) Return records from another (1997) Not really WebCat (1997) Auto-email upon restart? (2001) I give up!! (1997) Shownext problems (1999) cookies (2004) Add to a field (1998) RE: E-mail formating queston (1999) [lookup] vs. [search] (1998) EIMS Problems (1997) Running _every_ page through WebCat-error.html (1997) weird cart #? (1999) WebCat2 beta 11 - new prefs ... (1997)