I've not done exhaustive testing to make sure it works on all browsers, but often, I will use action="" which seems to use the current URI without any GET params.  It's a bit shorter than what's already been suggested but otherwise, it accomplishes the exact same thing.

On 5/17/06, Michael Burns <[EMAIL PROTECTED]> wrote:
Howdy,

On 13-May-06, at 1:56 AM, Marius Feraru wrote:

RJ Herrick wrote:
Most of my forms are self referential, so whatever URL they get invoked
with is used for the action.

Replace form action with $m->request_comp->path


I second that -- works like a charm.

Or, if your request_comp->path doesn't really correspond to your current browser URL (subrequest, subexec, etc.), you could also try replacing form action with $r->uri


-Michael

_______________________________________________________

Michael Burns
Cosbit Technologies
403-701-2672   / [EMAIL PROTECTED]

AIM: cmikeburns
MSN: cmikeburns
_______________________________________________________

Box 2173, Station M    Calgary, Alberta, Canada     T2P 2M4




Reply via email to