Re: Odd <textarea> Behavior with variables
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 43334
interpreted = N
texte = Robert Wade wrote:> 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]show=f is not needed.Robert, I would say trippleXtripple check your vars. ;-)what are the values just before the showifs?>>> [!]===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.change the last digit of the error and change your error showif to:[e_id]~012369Then you will know which error is redirecting.D> 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>-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------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:
Robert Wade wrote:> 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]show=f is not needed.Robert, I would say trippleXtripple check your vars. ;-)what are the values just before the showifs?>>> [!]===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.change the last digit of the error and change your error showif to:[e_id]~012369Then you will know which error is redirecting.D> 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>-- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------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/
Donovan
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:
error -108 (1997)
Signal Raised (1997)
errormessages.db (1997)
Verifying both name and password (was: New Problem) (1997)
Only charge card when product shipped ? (1997)
Buying sans cart (1997)
[WebDNA] 6.2 Monitor (2012)
RedHat Linux glibc version 2.1.2 or higher required (2000)
Suse linux 9.0 AMD64 (2004)
Changing RAM-cached browser values ... (2000)
[WebDNA] unix-Linux Intel Apache Module version 8.0.2 (2016)
Fwd: Problems with Webcatalog Plug-in (1997)
Stopping bad HTML propagation ? (1997)
mass mailing (1998)
First n words (2000)
select menus & database design (1998)
Re:quit command on NT (1997)
Summing fields (1997)
unique ID (1997)
Sum of [founditems] ? (2004)