Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

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.

Form Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Simplest way to make a form and processor??


Go to End


2 Posts   1239 Views

Avatar
alekffs

Community Member, 2 Posts

30 April 2013 at 10:13pm

Hi all,

I was wondering if anyone can help me find the simplest solution to making a form and processor in silverstripe 3?

All the tutorials I seem to find are either centred around email submission forms, or they are overly-complicated integrations into silverstripe framework.

Basically, I have made a search form on a page which is designed to search for properties. The properties are already on a separate database, and all I want is to forward that form search to a processor function which will return a list of properties.

Can anyone tell me the easiest way to do this please? I am not exactly a PHP newbie but I'm still getting used to this MVC framework model.. I'm just used to form.php > processor.php.... :(

Thanks.

Avatar
Willr

Forum Moderator, 5523 Posts

3 May 2013 at 9:10pm

Have you done tutorial 3 (http://doc.silverstripe.org/framework/en/tutorials/3-forms)? If covers an awesome simple as possible case of a form and result.