Welcome Guest, Not a member yet? Register   Sign In
Form routing
#1

[eluser]stevefink[/eluser]
Good afternoon, igniters!

Quick inquiry. I have a routed URL with the following semantics:

http://f1auto/console/addvehicle/photos/1

that's actually just controller->photoupload, method->uploads and $this->uri->segment(4) gives me access to the 1.

This page has a form on it. I'd like to process the form in something separate than the method->uploads, however I want the page to load back to the same URL.

What's my best bet for accomplishing this? Do I have to use redirect() and end up making the user go through two page refreshes to get to the proper URL?

I hope this isn't too confusing.

Thanks. :-)

- sf
#2

[eluser]alpar[/eluser]
You could use AJAX to avoid a redirect.With Xajax it isn't that hard either Wink




Theme © iAndrew 2016 - Forum software by © MyBB