how ??
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
It's POST by default. If you want to change the type $form->setFormMethod('POST');
http://api.silverstripe.org/2.4/forms/core/Form.html#methodsetFormMethod
ehhh i had wrong name object in return
public function SearchForm() {
....
return new Form(....);
}
i had
return new SearchForm(....) and it makes an error :)
btwg thanks for the method name to change the form method :)