What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Odd <textarea> Behavior with variables

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43333
interpreted = N
texte = Hello all,I have a form where there area couple of textareas. One in particular keeps giving me a problem. Here is the text area...In the page the form posts to, I have a simple script that checks to see if the required fields were entered, and it sets a generic text variable (e_id=012369), if one or more of them is blank. If that variable is set, the user redirects back to the form and is directed to fill out the required fields. Simple. The code is as follows....[!]===Begin Checking for required fields===[/!] [showif [cl_title]=][text show=f]e_id=012369[/text][/showif] [showif [cl_description]=][text show=f]e_id=012369[/text][/showif] [showif [cl_price]=][text show=f]e_id=012369[/text][/showif] [showif [cl_shipping]=][text show=f]e_id=012369[/text][/showif] [showif [cl_contact]=][text show=f]e_id=012369[/text][/showif][!]===Redirect if initial errors found===[/!] [showif [e_id]=012369] [redirect classifieds_start.html?cl_id=[cl_id]&e_id=[url][e_id][/url]] [/showif]Even when every single input on the form is filled out, I keep getting redirected back with the error. By process of elimination I have narrowed it down to the cl_description textarea. I also put a formvariables loop in the posting page to make sure that the data is coming through, and it is, but for some reason the code above is setting that variable. I have double checked and even re-written that portion of code just to make sure I didn't misspell anything. No luck. There is one other texarea and it works find (cl_contact). Anyone have a clue?-Robert ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Odd In the page the form posts to, I have a simple script that checks to see if the required fields were entered, and it sets a generic text variable (e_id=012369), if one or more of them is blank. If that variable is set, the user redirects back to the form and is directed to fill out the required fields. Simple. The code is as follows....[!]===Begin Checking for required fields===[/!] [showif [cl_title]=][text show=f]e_id=012369[/text][/showif] [showif [cl_description]=][text show=f]e_id=012369[/text][/showif] [showif [cl_price]=][text show=f]e_id=012369[/text][/showif] [showif [cl_shipping]=][text show=f]e_id=012369[/text][/showif] [showif [cl_contact]=][text show=f]e_id=012369[/text][/showif][!]===Redirect if initial errors found===[/!] [showif [e_id]=012369] [redirect classifieds_start.html?cl_id=[cl_id]&e_id=[url][e_id][/url]] [/showif]Even when every single input on the form is filled out, I keep getting redirected back with the error. By process of elimination I have narrowed it down to the cl_description textarea. I also put a formvariables loop in the posting page to make sure that the data is coming through, and it is, but for some reason the code above is setting that variable. I have double checked and even re-written that portion of code just to make sure I didn't misspell anything. No luck. There is one other texarea and it works find (cl_contact). Anyone have a clue?-Robert ------------------------------------------------------------- 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://search.smithmicro.com/ Robert Wade

    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:

    Cookie still not working (1999) Location of Browser Info.txt file (1997) Search design (1997) Creating 404 Not Found pages (1999) WebDNA Solutions ... sorry! (1997) 2 databases (1997) page redirect in webDNA (1997) Shopping Cart ID (1998) I guess I have a problem with commitment (2003) Nested tags count question (1997) authorizenet and netscape (2002) If then confusion (2004) [addlineitems] display (1997) emailer (1997) Newbie problem blah blah blah (1997) Plugin or CGI or both (1997) [convertchars] problem... (2000) bug in [SendMail] (1997) Purchae error - Fixed to a degree (1997) There's a bug in the math context ... (1997)