Adding Submit-Button via getFormSchema
Hey - Maybe I am too tired, but right now I struggle on creating a simple form on a Page.
So far I got this:
What I want is to create a simple search-form with 2 parameters where there is a button below the Text-Inputs which then submits the form, but as soon as I try to add
I am sure I can do what I want somehow within the getFormSchema()-method, but I don't see how. I want the button specificly below the Textinputs and NOT on the top right where the Page-Actions would normally reside. What am I missing here?
(@pboivin)
So far I got this:
What I want is to create a simple search-form with 2 parameters where there is a button below the Text-Inputs which then submits the form, but as soon as I try to add
Action::make() PHP comes down on me.I am sure I can do what I want somehow within the getFormSchema()-method, but I don't see how. I want the button specificly below the Textinputs and NOT on the top right where the Page-Actions would normally reside. What am I missing here?
(@pboivin)