Re: Bizarre behavior texta behavior
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59103
interpreted = N
texte = Hmmm... This sounds like something I have seen client side where the field being submitted has a quote that terminates the string or ends a javascript unintentionally. Have you tried wrapping the submission field with [input] or [convertchars] or [url] in your form? I forget which one works here but I think it might be input.Bill-----Original Message-----From: Bob Minor
Sent: Fri, 20 Aug 2004 03:27:30 -0500To: "WebDNA Talk" Subject: Bizarre behavior texta behaviorI am writing data from a shoppingcart into a database. In my deployed site it works fine in my dev site it is dropping the [texta] field and only the texta field. [textb] etc all work fine. Here is the code snippet it is exactly duplicate on both sites.[lineitems][append db=databases/ orderitems.db]oid=[neworderid]&oidi=[neworderid]_[lineindex]&oin=[linein dex]&title=[textA]&quantity=[quantity]&sku=[sku]&price=[price]&taxable=[ taxable]&canEmail=[canEmail]&unitshipCost=[unitshipCost]&textA=[textA]&t extB=[textB]&textC=[textC]&textD=[textD]&textE=[textE]&orddate=[math]{[d ate]}[/math]&ordtime=[math]{[time]}[/ math]&ordatetime=[math]({[date]}*86400)+{[time]}[/math][/append][/lineitems]I look at the shopping cart just prior to posting this and I textA is populated, weird thing is it only happens when there is a quote in the texta field ie texta="Property Of" T-Shirt. I look at it in the completed orders folder and its emptyIf I take the "'s out then it works fine. I tested this several times. This is on a windows box running IIS and version 4.5. I tried grepping out the "'s but no luck the shopping cart ignores any of my attempts to change the texta field from what is in the database.-------------------------------------------------------------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/-------------------------------------------------------------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:
Hmmm... This sounds like something I have seen client side where the field being submitted has a quote that terminates the string or ends a javascript unintentionally. Have you tried wrapping the submission field with [input] or [convertchars] or [url] in your form? I forget which one works here but I think it might be input.Bill-----Original Message-----From: Bob Minor Sent: Fri, 20 Aug 2004 03:27:30 -0500To: "WebDNA Talk" Subject: Bizarre behavior texta behaviorI am writing data from a shoppingcart into a database. In my deployed site it works fine in my dev site it is dropping the [texta] field and only the texta field. [textb] etc all work fine. Here is the code snippet it is exactly duplicate on both sites.[lineitems][append db=databases/ orderitems.db]oid=[neworderid]&oidi=[neworderid]_[lineindex]&oin=[linein dex]&title=[textA]&quantity=[quantity]&sku=[sku]&price=[price]&taxable=[ taxable]&canEmail=[canEmail]&unitshipCost=[unitshipCost]&textA=[textA]&t extB=[textB]&textC=[textC]&textD=[textD]&textE=[textE]&orddate=[math]{[d ate]}[/math]&ordtime=[math]{[time]}[/ math]&ordatetime=[math]({[date]}*86400)+{[time]}[/math][/append][/lineitems]I look at the shopping cart just prior to posting this and I textA is populated, weird thing is it only happens when there is a quote in the texta field ie texta="Property Of" T-Shirt. I look at it in the completed orders folder and its emptyIf I take the "'s out then it works fine. I tested this several times. This is on a windows box running IIS and version 4.5. I tried grepping out the "'s but no luck the shopping cart ignores any of my attempts to change the texta field from what is in the database.-------------------------------------------------------------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/-------------------------------------------------------------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/
devaulw@onebox.com
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:
Cancel Subscription (1996)
CGI and SSI (2002)
Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997)
[WebDNA] Getting variables from XML XSL/XSLT ? (2010)
Colors (2000)
Attn: Bug in GeneralStore example b15 (1997)
Re:2nd WebCatalog2 Feature Request (1996)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
Netscape Communicator 4 chops off URLs (was No Data) (1997)
Hidden or Forbidden? (1998)
NT or Mac (1998)
Webcat 2.0.1 date math bug -> Crash! (1997)
listfiles-looking for slick solution (1997)
WebCat2final1 crashes (1997)
Error Lob.db records error message not name (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
Multiple fields on 1 input (1997)
SSL and reg web* (1997)
Mac Vs WindowsNT (1997)
SendMail question (2004)