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.

Form Questions

Simplest way to make a form and processor??


Reply

2 Posts   358 Views

Avatar
alekffs

30 April 2013 at 10:13pm Community Member, 2 Posts

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

3 May 2013 at 9:10pm Forum Moderator, 5511 Posts

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.