logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: default action is '/' ??: msg#00081

Subject: Re: default action is '/' ??
John Napiorkowski wrote:
> Hi,
> 
> The documentation specifies that the default action to a from is nothing to 
> make it easier to create self referring forms.  However everything I do 
> causes an action to be set to "/" in my generated forms.  Is this just a 
> documentation error and if so what are people doing to make self referring 
> forms?  I'm going crazy trying to deal with this :)
> 

<snip>

> I've tried setting the action to '' but that didn't do the trick.  I'm just 
> trying to see if I am doing something totally wrong.  Thanks!
> 
> --john
> 
> 

Not sure it's best practice, but I always do ->action($c->req->uri)

- Brian



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>