I don't understand this question.
Form:submit() generates client-side HTML (for a normal submit button), php is server side. How you would bind the two?
If your question is "how to I detect in my code which submit button is used", look at Input::post().
In fact, I have a form. At the end of it, I have a button (form :: submit ('validate').
This button must be returned to me a fnction I created and found in a file in php: source files / fuel / app / classes / controlling
I would rather use form :: post ()? IF so, what would be the parameters?
A big thank you
ps : sorry for my english, i'm french
if I understand the way in which I have to proceed (this is the first time I work with a framework ..)
I create a file that contains a class, the latter being an extension of the page template.
In this class, to find my functions. For each function, I do a "Input :: post ('blah')" in order to use these functions famous?
That said, each function will be written: action_ and then the page name? If I create several functions that are included in one page, I have a problem then .. ?
thx!
If you're completely new, I suggest you go through the docs first to get some insight in how the framework operates.
After that, look at http://docs.fuelphp.com/packages/oil/generate.html and use scaffolding to have oil generate code for you. That will give you the basics of how you setup your controller and controller methods and how they interact with the views.