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:

Re2: Calculating multiple shipping... (1997) setting taxable to true (1997) access denied problem (1997) WCS Newbie question (1997) Help! WebCat2 bug (1997) searching illegal HTML (2002) Field lenght (1998) Webcat2, WebCommerce, Mod 10 etc. (1997) Rumpus/Typhoon modules included in Typhoon ... (1997) Shownext never shows next...still (1997) Date Help (2004) Is the list server working? (1998) Can a database get stomped by simultaneous access? (1997) [WebDNA] table comma field delimiter bug? (2012) [Q] Novice's question (1997) Anyone using Editize (inline html editor) w/ WebDNA (2003) Re:E-Mailer (WebCatb15acgiMac) (1997) Emailer setup (1997) creator code (1997) Claris HomePage messes up the code (1997)