Re: [WebDNA] Friendly urls and multipart/form-data

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 106935
interpreted = N
texte = --Apple-Mail-8--684519483 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Tom,=20 If I understand the issue, then try this: Make sure that your multi-part form passes a hidden formvar like so: ..and then on the receiving page: [formvariables] [showif = [url][name][/url]^[url]"whatEverTellsYouThatFormWasMultiPartType"[/url]] = [text]whatEverTellsYouThatFormWasMultiPartType=3D[value][/text] [/showif] [/formvariables] [showif [URL][whatEverTellsYouThatFormWasMultiPartType][/URL]=3DT] [!]---now you have to do this for each and every formvar that = you want to have its value available: ---[/!] [formvariables] [showif [url][name][/url]^[url]"myFormvar1"[/url]] [text]myFormvar1=3D[value][/text] [/showif] [/formvariables] [formvariables] [showif [url][name][/url]^[url]"myFormvar2"[/url]] [text]myFormvar2=3D[value][/text] [/showif] [/formvariables] etc.. [/showif] ...otherwise myFormvar1, myFormvar2, etc.. will not be available.. -Govinda > Ken, > =20 > Hi - I'm pulling out the form data OK. It's parameters that are = passed through the URL that are being lost. So the form is being = posted to: > =20 > =20 > parser.tmpl?requestedurl=3Dvalue1&query=3Dvalue2 > =20 > but I can't read the [requestedurl] and [query] variables. Maybe = this is to do with browser behaviour and nothing to do with WebDNA at = all? > =20 > - Tom >=20 > =20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us - Govinda -------------- Old WebDNA talklist archives: http://dev.webdna.us/TalkListArchive/index.tpl?db=3Dwebdna-talk --Apple-Mail-8--684519483 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Tom, 

If I understand the issue, then try = this:

Make sure that your multi-part form = passes a hidden formvar like so:
<input name=3D"whatEverTellsYouThatFormWasMultiPartType" type=3D"hidden" = value=3D"T" />

..and then on the receiving = page:

[formvariables]
= [showif = [url][name][/url]^[url]"whatEverTellsYouThatFormWasMultiPartType"[/url]] = [text]whatEverTellsYouThatFormWasMultiPartType=3D[value][/text] [/showif]
[/formvariables]

[showif = [URL][whatEverTellsYouThatFormWasMultiPartType][/URL]=3DT]
[!]---now you have to do this for each = and every formvar that you want to have its value available: ---[/!]
[formvariables] [showif [url][name][/url]^[url]"myFormvar1"[/url]] [text]myFormvar1=3D[value][/text] [/showif] [/formvariables]
[formvariables] [showif [url][name][/url]^[url]"myFormvar2"[/url]] [text]myFormvar2=3D[value][/text]
[/showif] [/formvariables]

etc..
[/showif]

...otherwise myFormvar1, = myFormvar2, etc.. will not be available..


-Govinda



Ken,
 
Hi - I'm pulling out the form data OK.   It's parameters = that are passed through the URL that are being lost.    = So the form is being posted to:
 
 
     = parser.tmpl?requestedurl=3Dvalue1&query=3Dvalue2
 
but I can't read the [requestedurl] and [query] = variables.   Maybe this is to do with browser behaviour and = nothing to do with WebDNA at all?
 
- Tom

 
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

- = Govinda
--------------
Old WebDNA = talklist archives:

= --Apple-Mail-8--684519483-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Friendly urls and multipart/form-data (Marc Thompson 2011)
  2. Re: [WebDNA] Friendly urls and multipart/form-data (Govinda 2011)
  3. Re: [WebDNA] Friendly urls and multipart/form-data (Marc Thompson 2011)
  4. Re: [WebDNA] Friendly urls and multipart/form-data (Govinda 2011)
  5. Re: [WebDNA] Friendly urls and multipart/form-data (Kenneth Grome 2011)
  6. Re: [WebDNA] Friendly urls and multipart/form-data (Tom Duke 2011)
  7. Re: [WebDNA] Friendly urls and multipart/form-data (Kenneth Grome 2011)
  8. [WebDNA] Friendly urls and multipart/form-data (Tom Duke 2011)
--Apple-Mail-8--684519483 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Tom,=20 If I understand the issue, then try this: Make sure that your multi-part form passes a hidden formvar like so: ..and then on the receiving page: [formvariables] [showif = [url][name][/url]^[url]"whatEverTellsYouThatFormWasMultiPartType"[/url]] = [text]whatEverTellsYouThatFormWasMultiPartType=3D[value][/text] [/showif] [/formvariables] [showif [url][whatEverTellsYouThatFormWasMultiPartType][/URL]=3DT] [!]---now you have to do this for each and every formvar that = you want to have its value available: ---[/!] [formvariables] [showif [url][name][/url]^[url]"myFormvar1"[/url]] [text]myFormvar1=3D[value][/text] [/showif] [/formvariables] [formvariables] [showif [url][name][/url]^[url]"myFormvar2"[/url]] [text]myFormvar2=3D[value][/text] [/showif] [/formvariables] etc.. [/showif] ...otherwise myFormvar1, myFormvar2, etc.. will not be available.. -Govinda > Ken, > =20 > Hi - I'm pulling out the form data OK. It's parameters that are = passed through the URL that are being lost. So the form is being = posted to: > =20 > =20 > parser.tmpl?requestedurl=3Dvalue1&query=3Dvalue2 > =20 > but I can't read the [requestedurl] and [query] variables. Maybe = this is to do with browser behaviour and nothing to do with WebDNA at = all? > =20 > - Tom >=20 > =20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us - Govinda -------------- Old WebDNA talklist archives: http://dev.webdna.us/TalkListArchive/index.tpl?db=3Dwebdna-talk --Apple-Mail-8--684519483 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Tom, 

If I understand the issue, then try = this:

Make sure that your multi-part form = passes a hidden formvar like so:
<input name=3D"whatEverTellsYouThatFormWasMultiPartType" type=3D"hidden" = value=3D"T" />

..and then on the receiving = page:

[formvariables]
= [showif = [url][name][/url]^[url]"whatEverTellsYouThatFormWasMultiPartType"[/url]] = [text]whatEverTellsYouThatFormWasMultiPartType=3D[value][/text] [/showif]
[/formvariables]

[showif = [url][whatEverTellsYouThatFormWasMultiPartType][/URL]=3DT]
[!]---now you have to do this for each = and every formvar that you want to have its value available: ---[/!]
[formvariables] [showif [url][name][/url]^[url]"myFormvar1"[/url]] [text]myFormvar1=3D[value][/text] [/showif] [/formvariables]
[formvariables] [showif [url][name][/url]^[url]"myFormvar2"[/url]] [text]myFormvar2=3D[value][/text]
[/showif] [/formvariables]

etc..
[/showif]

...otherwise myFormvar1, = myFormvar2, etc.. will not be available..


-Govinda



Ken,
 
Hi - I'm pulling out the form data OK.   It's parameters = that are passed through the URL that are being lost.    = So the form is being posted to:
 
 
     = parser.tmpl?requestedurl=3Dvalue1&query=3Dvalue2
 
but I can't read the [requestedurl] and [query] = variables.   Maybe this is to do with browser behaviour and = nothing to do with WebDNA at all?
 
- Tom

 
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

- = Govinda
--------------
Old WebDNA = talklist archives:

= --Apple-Mail-8--684519483-- Govinda

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:

Help with Repost Data msg from form (1997) test (2003) Looking up two prices in database? (1997) exclamation mark... (1999) Card clearance, problems - solutions? (1997) Populating a db from a form textarea (2005) Sku numbers (1997) WebObjects (1998) [TaxableTotal] - not working with AOL and IE (1997) problems with 2 tags (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) NT Manual (1997) A question on sub-categories (1997) Storebuilder (2000) locking variables? (2000) Web Catalog vs. ICAT (1997) FW: Large File Uploads Impact WebDNA Performance (IIS) (2003) Prices coming up 0.00 (2001) WebCat2: multiple currency support (1997) Country & Ship-to address & other fields ? (1997)