From dotCMS Boot Camp 2010. This presentation talks about form submissions can now be stored as content and dynamically reported on HTML pages. Any user can place complex forms on any HTML page in the dotCMS 1.9 version.
Powerpoint exploring the locations used in television show Time Clash
Forms as Structured Content
1. Forms
as
Structured
Content
dotCMS
version
1.9
introduces
the
ability
to
store
form
submissions
as
structured
content
We
hope
you
enjoy
our
presenta>on
of
this
powerful
new
feature!
Welcome!
3. What
was
wrong
with
the
old
way?
• Email
harves>ng
from
forms
• Spam
aGacks
• No
server
side
form
valida>on
• Limited
form
repor>ng
• Inability
to
dynamically
interact
with
form
submissions
• Form
code
exposed
on
webpage
• Higher
barrier
of
entry
to
crea>ng
forms
4. 1.9
Supported
Form
Building
Methods
What
got
added?
Legacy
Support?
Form
structure
type
Legacy
Form
Builder
Add
form
content
on
Legacy
Form
Handling
any
page
Legacy
Form
Repor>ng
HTML
free
form
building
De-‐coupling
form
code
from
the
page
Dynamic
form
repor>ng
6. Why
is
it
Cool?
• Create
custom
forms
with
no
HTML/Velocity
• Make
complex
forms
with
ease
• Simple,
re-‐usable
forms
• Create
dynamic
pages
that
react
to
form
submiGed
content
• Dynamic,
customizable
form
repor>ng
9. How
do
I
create
a
new
form?
1. Make
a
“ Thank
You”
page
2. Create
a
form
structure
3. Fill
in
required
hidden
form
fields
4. Add
the
desired
form
fields
5. Add
the
form
to
a
webpage
10. Placing
a
Form
on
an
HTML
Page
• Forms
can
now
be
added
to
all
content
containers
• Content
Editors
can
now
search
for
and
place
forms
on
webpages
without
having
access
to
form
code
• Permissions
control
which
forms
users
can
see
and
use
13. Styling
Form
Content
Default
Dojo.css
/dotCMS/html/js/dojo/release/dojo/dijit/themes
How
can
I
override
dojo.css
with
my
own?
#set($contentFormMacroCSS
=
'/path/
formstyle.css')
14. New
Methods
in
Form
Repor>ng
• Download
simple
Excel
reports
• View
forms
as
content
• Create
dynamic
form
reports
• Legacy
form
repor>ng
15. Dynamic
Display
of
Form
Submissions
• Generate
#pullContent
pullContent
query
in
("+structureName:Trainin
form
content
search
gFeedback","0","modDat
• Place
a
velocity
e
desc")
widget
on
a
page
that
pulls
form
#foreach
submissions
($formSubmission
in
$list)
.....
#end
16. Review
of
New
Form
Handling
Concepts
Three
supported
methods
for
crea>ng
forms
(legacy
form
builder,
legacy
form
fields,
forms
as
structured
content)
Powerful
new
form
fields
Stop
Email
harves>ng
Form
submissions
now
stored/retrieved
as
content
HTML
pages
can
now
pull
content
from
form
submissions
Simple
form
crea>on
17. Penny
for
your
thoughts
• What
do
you
like
about
the
changes?
• How
can
this
tooling
be
leveraged?
• Possible
use
cases?
• What
is
your
ini>al
reac>on
to
this
feature?