[development] E-Commerce formapi question.

Gordon Heydon gordon at heydon.com.au
Tue Feb 7 10:27:03 UTC 2006


On Mon, 2006-02-06 at 22:57 -0800, Adrian Rossouw wrote:
> On 27 Dec 2005, at 9:09 PM, Jeff Eaton wrote:
> >
> > Any hints on how to achieve the same result? I have a handful of  
> > forms related to voting that use this to refresh the page and  
> > recalculate voting results after a vote is cast. I'd like to get  
> > rid of it, but there doesn't seem to be a clean way to do it. Am I  
> > missing something?
> >
> i have an in-progress patch which removes the drupal_goto from all  
> _submit functions, and instead makes it return the page to refresh to.
> this means you can have multiple _submit functions stacked on top of  
> each other.
> The system was designed for that, but the drupal_gotos mess up a lot  
> of what should be possible.

This sounds great in principle, can I get a link to the patch so I can
take a look.

Thanks in advance.

> --
> Adrian Rossouw
> Drupal developer and Bryght Guy
> http://drupal.org | http://bryght.com
> !DSPAM:1000,43e846aa95919119242804!

More information about the development mailing list