Thanks for the answers, Teresa. I tried to add your comments together
to a complete "workflow" but I'm not sure that I got it all right:
- So the form itself does not contain any "hints" or info which would
be transmitted to the server when the for is submitted. Only the form
data is being submitted, and...
- an empty textfield named "field"
- Why is this hidden by CSS?
- Why not simply using a <input type="hidden" name="field" value="" />?
- This empty "field" parameter seems to be used as "honey pot"
- Ah... honey pot to block form abuse?
- So that's why you are using a <input type="text" /> and not <input
type="hidden" />?
- Now the page is called again with the form data
- You said that the form processors kick in depending on athe
"actionResult" parameter the model returns...
-> But how does the model know that it has to do actual work an not
just display the empty form?
- And you said, that multiple forms on one page are now possible
because the model will check the uuid...
-> But how does the model know which form has been sent when no uuid
was transmitted (since there is no <input type="hidden" name="uuid".../
> tag in the form)?
I hope I'm not asking to many stupid questions, but I would like to
understand the process. And since I've spent several hours yesterday
only trying to figure out which template includes what in STK to write
that Form Module page in the wiki, I don't feel very exited about
digging trough the FormModule code for an other few hours right
now... ;-)
-will
On 18.09.2009, at 10:47, Teresa Miyar wrote:
Hi,
On Sep 18, 2009, at 8:53 AM, Will Scheidegger wrote:
Good morning
I did install the full STK and spent a "few" hours trying to figure
out how things work, especially in regard to the contact form, but
also STK. More and more it shows that "powerful" and "simple"
usually don't go together well.
Anyway, I got things working now without the STK. The results of my
adventurous journeys are summed up here:
http://wiki.magnolia-cms.com/display/WIKI/Form+Module
Great page, i've answered the questions there.
The page still contains a bunch of open questions which I hope will
get answered by more knowledgeable people than me, but I also hope
the page will save others some time.
-will
On 17.09.2009, at 17:36, Teresa Miyar wrote:
Hi,
There is a very short description here:
http://documentation.magnolia-cms.com/modules/form.html
And it would help you have a look at the contact page sample
provided in demo-project when you install STK, but if you don't
want to install it you can have a look here http://demo.magnolia-cms.com/demo-project/service/contact.html
On Sep 17, 2009, at 5:21 PM, Jan Haderka wrote:
On Thu, 2009-09-17 at 17:13 +0200, Will Scheidegger wrote:
Hi Teresa
Thanks for the reply.
I'm working on the trunk (Mag 4.1.1) and the error I'm getting was
described in my original post: empty mails.
Actually I would be quite interested to use the Form Module.
Unfortunately with no documentation at all (incl. JavaDoc) I don't
Was about to say that there is definitively at least the javadoc at
http://dev.magnolia-cms.com/modules/magnolia-module-form/1.0.2/magnolia-module-form/
but looking at it now, i see what you mean ...
find it to be "very simple". But maybe you can give me one or two
pointers to get me started. I'll promise that I will write down my
experiences in a wiki page in return. Do we have a deal? ;-)
I will try to put you in the right direction in a following email.
Thanks a bunch!
- will
On 17.09.2009, at 16:13, Teresa Miyar wrote:
Hi,
There was an issue with the SimpleMail tag that was fixed for
version 4.1, but as it is deprecated, you can use the Form Module
without STK is very simple and customizable, but if you don't
want
to change anything maybe you can explain the error you are
getting
and the version you are using, so I can try to find the error.
T.
On Sep 17, 2009, at 2:35 PM, Will Scheidegger wrote:
Dear Magnolians
We are slowly trying to move some of our sites to Magnolia 4.
Now
in Magnolia 4 the SimpleMail tag seems to be deprecated. Why
should
I care? Well, the emails sent are empty...
Since the Form Module seems to bee the replacement, I downloaded
the STK and installed the Form Module. Now, since I would like
to
go step by step: Can I use the Form Module without STK? Or do
you
think it would be simpler to fix the SimpleMail tag?
-will
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]
>
----------------------------------------------------------------
Best regards,
Teresa Miyar
Magnolia International Ltd.
Magnolia® - Simple Open Source Content Management
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]
>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-
cms.com>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
Best regards,
Teresa Miyar
Magnolia International Ltd.
Magnolia® - Simple Open Source Content Management
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
Best regards,
Teresa Miyar
Magnolia International Ltd.
Magnolia® - Simple Open Source Content Management
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------