Hi Nino, *,

On Sat, Sep 22, 2012 at 10:41 AM, Nino Novak <[email protected]> wrote:
> Am 21.09.2012 20:48 schrieb Florian Effenberger:
>
> I didn't try what rules you can define but creation of a form is about
> 1) Create a new page (select "User defined form" from dropdown near "Go")
> 2) Add fields (under "Form" tab; "Main" tab only contains "$UserDefinedForm")
> 3) Add rules etc

Yes, that would be the way to generate feedback or similar forms where
you want to store the submission either in the backend or send them
via email.

In this case (for the donation form), the requirements are a little
different, so we had to assemble the form directly in php (or
alternatively create it by hand in silverstripe's template language
that is close to html).

So for completeness sake:
For the donation form, we use a combination of both - the initial form
is assembled/created using php (
http://doc.silverstripe.org/framework/en/2.4/topics/forms ), the
proceed page that directs to paypal/the credit-card service is using a
html-template (
http://doc.silverstripe.org/framework/en/2.4/topics/templates ) that
is passed the corresponding values.

ciao
Christian

-- 
Unsubscribe instructions: E-mail to [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to