Re: Re: Using l() for Drupal 6

Ruud's picture
Offline
Joined: 05/23/2010
Juice: 3
Re: Re: Using l() for Drupal 6

You can also set the form method to GET and add a hidden field with the name 'destination'.

It will look something like this:

<form action="cart/add/e-p3_q1" methode="get">
  <input name="destination" type="hidden" value="cart/checkout" />
  <input type="submit" value="Order" />
</form>

Ruud

Cart link redirect By: Max_Headroom (16 replies) Thu, 03/12/2009 - 12:18