Re:[input] context

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23953
interpreted = N
texte = Ken,Ok, from reading the docs I though I needed to 'prepare' the text before it goes into the database. Doing a normal html ----------------------This is the 'preview page'
About the Club
[input][about][/input] I tried the above with and without the [input] contexts.Then it is saved to the database with: [append db=^databases/clubs.db]record_id=[cart]&date_submitted=[date]&date_updated= [date]&clubname=[clubname]&about=[about]&first_name=[first_name]&last_name= [last_name]&addr1=[addr1]&addr2=[addr2]&city=[city]&state=[state]&postal_co de=[postal_code]&country=[country]&telephone=[phone]&phone_ext=[phone_ext]& fax_number=[fax]&email=[email]&homepage=http://[homepage]&password=[passwor d]&page_counter=1[/APPEND] The display page (non-editable) is:

[input][about][/input] Is there something I am missing? Can I look for something in the actual database to see if the hard carrige returns are actually being saved?Thanks!>>>>I have never been able to get the[input] context to work >>>>for me. According to the docs the usage is: >>>> >>>> >>>> >>>>However, if I do the above, I end up getting [fieldname] entered into my >>>>database. > >The input tag is *never* used when ENTERING data into a database, it's >only used when DISPLAYING data that's already in the database. If you're >entering data into a database, do this instead: > > > >And if you have some text that's inside a database that you want to >display inside that textarea field, then you have to do something like this: > > > >... or something like this: > >[search db=xxx.db...&max=1] >[founditems] > >[/founditems] >[/search] > >Sincerely, >Kenneth Grome >WebDNA Consultant > > > > > Associated Messages, from the most recent to the oldest:

    
  1. Re:[input] context - solved - Thanks! (webcat 1999)
  2. Re:[input] context (Kenneth Grome 1999)
  3. Re:[input] context (webcat 1999)
  4. Re:[input] context (Kenneth Grome 1999)
  5. Re:[input] context (webcat 1999)
  6. Re:[input] context (Jay Van Vark 1999)
Ken,Ok, from reading the docs I though I needed to 'prepare' the text before it goes into the database. Doing a normal html ----------------------This is the 'preview page'
About the Club
[input][about][/input] I tried the above with and without the [input] contexts.Then it is saved to the database with: [append db=^databases/clubs.db]record_id=[cart]&date_submitted=[date]&date_updated= [date]&clubname=[clubname]&about=[about]&first_name=[first_name]&last_name= [last_name]&addr1=[addr1]&addr2=[addr2]&city=[city]&state=[state]&postal_co de=[postal_code]&country=[country]&telephone=[phone]&phone_ext=[phone_ext]& fax_number=[fax]&email=[email]&homepage=http://[homepage]&password=[passwor d]&page_counter=1[/APPEND] The display page (non-editable) is:

[input][about][/input] Is there something I am missing? Can I look for something in the actual database to see if the hard carrige returns are actually being saved?Thanks!>>>>I have never been able to get the[input] context to work >>>>for me. According to the docs the usage is: >>>> >>>> >>>> >>>>However, if I do the above, I end up getting [fieldname] entered into my >>>>database. > >The input tag is *never* used when ENTERING data into a database, it's >only used when DISPLAYING data that's already in the database. If you're >entering data into a database, do this instead: > > > >And if you have some text that's inside a database that you want to >display inside that textarea field, then you have to do something like this: > > > >... or something like this: > >[search db=xxx.db...&max=1] >[founditems] > >[/founditems] >[/search] > >Sincerely, >Kenneth Grome >WebDNA Consultant > > > > > webcat

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:

SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) WC Database Format (1997) WebCat and Personal Web Server (1998) calculate age (2003) Problems with WebCat 4.01 (2000) Requiring that certain fields be completed (1997) Show if file exists (2004) [ShowIf] a either fields are blank (1998) WebCat and WebTV (1997) The IBC root beer has arrived! (1997) math on date? (1997) Exclude by date - multiple (1997) Bug? (1997) database size? (1997) Can't use old cart file (was One more try) (1997) Attn: Bug in GeneralStore example b15 (1997) WebCat2b12 CGI Mac - [shownext] problem (1997) File Upload, Browser Timeout (2003) 4.5.1 upgrade fee (2003) Server Freeze (1998)