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--684519483Content-Transfer-Encoding: quoted-printableContent-Type: text/plain;charset=us-asciiTom,=20If 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--684519483Content-Transfer-Encoding: quoted-printableContent-Type: text/html;charset=us-asciiTom,
If I understand the issue, then try =this:
Make sure that your multi-part form =passes a hidden formvar like so:
...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 tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us
--Apple-Mail-8--684519483Content-Transfer-Encoding: quoted-printableContent-Type: text/plain;charset=us-asciiTom,=20If 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--684519483Content-Transfer-Encoding: quoted-printableContent-Type: text/html;charset=us-asciiTom,
If I understand the issue, then try =this:
Make sure that your multi-part form =passes a hidden formvar like so:
...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 tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us
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...