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 keepsgiving 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 therequired fields were entered, and it sets a generic text variable (e_id=012369), ifone or more of them is blank. If that variable is set, the user redirects back tothe form and is directed to fill out the required fields. Simple. The code is asfollows....[!]===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 redirectedback with the error. By process of elimination I have narrowed it down to thecl_description textarea. I also put a formvariables loop in the posting page tomake sure that the data is coming through, and it is, but for some reason the codeabove is setting that variable. I have double checked and even re-written thatportion of code just to make sure I didn't misspell anything. No luck. There isone 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: