Hi Nino, *,
On Sat, Sep 22, 2012 at 10:41 AM, Nino Novak <nn.libo@kflog.org> 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 website+help@global.libreoffice.org
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
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.