Welcome Guest, Not a member yet? Register   Sign In
Classic form, how to submit to call a controller method?
#1

[eluser]avastreg[/eluser]
The title is a little weird Smile

I need to know if there is a best-practice/how to to handle the submit of a form with method=get to call a method of a controller.

An explanatory example:

in controller_A view i have:
Code:
<form action="/controller_B/method/" method="get">

<input name="foo" value="get_value"...

</form>

I need to reach
Code:
/controller_B/method/get_value
but with that submit i get

Code:
/controller_B/method/?foo=get_value

Is there a way to do this or i have to manage it in ajax?


Messages In This Thread
Classic form, how to submit to call a controller method? - by El Forum - 06-07-2009, 06:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB