Redirect + Parameters

0 views
Skip to first unread message

gms8994

unread,
Apr 7, 2008, 2:47:47 PM4/7/08
to JustHumans
I'd like to have the redirect page include a parameter from the form
posted. Is this possible?

Anders Brownworth

unread,
Apr 7, 2008, 2:51:24 PM4/7/08
to justh...@googlegroups.com
gms8994,

Not currently but this is a good idea. I could optionally add fields as get parameters but you should know that parameters would come back regardless if the user clicked the right picture or not. I'm thinking a hidden field similar to the way custom sorting is done.

I'll add it to the list.

-Anders


On Mon, Apr 7, 2008 at 2:47 PM, gms8994 <gms...@gmail.com> wrote:

I'd like to have the redirect page include a parameter from the form
posted.  Is this possible?




--
-Anders
-----------------------------------------------------------
Anders Brownworth
ande...@gmail.com

gms8994

unread,
Apr 7, 2008, 2:55:00 PM4/7/08
to JustHumans
Thanks! Not to be a pest, but do you know when this kind of feature
could be implemented? I'd love using this more, but this specific
feature is limiting my ability to do so.

On Apr 7, 2:51 pm, "Anders Brownworth" <ander...@gmail.com> wrote:
> gms8994,
>
> Not currently but this is a good idea. I could optionally add fields as get
> parameters but you should know that parameters would come back regardless if
> the user clicked the right picture or not. I'm thinking a hidden field
> similar to the way custom sorting is done.
>
> I'll add it to the list.
>
> -Anders
>
> On Mon, Apr 7, 2008 at 2:47 PM, gms8994 <gms8...@gmail.com> wrote:
>
> > I'd like to have the redirect page include a parameter from the form
> > posted.  Is this possible?
>
> --
> -Anders
> -----------------------------------------------------------
> Anders Brownworth
> ander...@gmail.com

Anders Brownworth

unread,
Apr 7, 2008, 3:04:09 PM4/7/08
to justh...@googlegroups.com
gms8894,

I could put this second-in-line behind the Safari issue I'm currently working on so something like 2 weeks is possible. It isn't a huge change so should be fairly easy to estimate an exact time once the Safari issue (who's timeline is less clear) is under control.

-Anders
ande...@gmail.com

gms8994

unread,
Apr 7, 2008, 3:12:32 PM4/7/08
to JustHumans
Well, if there's anything I can do to help, please let me know!
> ander...@gmail.com

Anders Brownworth

unread,
Apr 7, 2008, 3:16:24 PM4/7/08
to justh...@googlegroups.com
If you feel up to it, using the optional hidden "sort" parameter as an example, suggest how you would want to send me "get parameters" in a hidden field. That would help...

Thanks.

-Anders
ande...@gmail.com

gms8994

unread,
Apr 7, 2008, 3:30:08 PM4/7/08
to JustHumans
It should support two different data. In either case, I provide a
hidden field: <input type="hidden" name="redirect_fields">. The two
data are:

1) Specific data; I put the value of redirect_fields as
value="fieldname=value;fieldname2=value2" etc. These would be passed
as querystring parameters, as is, back to the webserver. They should
come to you URL encoded.
2) Form data; I put the value of redirect_fields as
value="some_field_in_form;some_field_in_form2", etc. These would be
passed as querystring parameters, with the data submitted within the
form.

I'd say that essentially, you'd just look for the =, and pass those
back unchanged, and any fields without = would have their values put
in.

Again, thanks! Let me know if you have questions related to this.
> ander...@gmail.com

Anders Brownworth

unread,
Apr 7, 2008, 3:45:12 PM4/7/08
to justh...@googlegroups.com
Thanks, I hadn't thought about putting arbitrary key/values in there without using hidden fields. I can imagine why that would be very useful. I'll get back to you on this. It is a great idea. Thanks for the suggestion.

-Anders
ande...@gmail.com
Reply all
Reply to author
Forward
0 new messages