Forums / Setup & design / Online Forms

Online Forms

Author Message

David Foster

Wednesday 19 October 2005 2:27:06 am

As part of our intranet I want to include a variety of online forms to serve the internal business requirements of our organisation.
Can anyone help me to understand how to do this.
I know how to create and display forms in xhtml pages but am confused re ezpublish.

Arran Price

Wednesday 19 October 2005 3:09:31 pm

Hi David,
depending on the complexity of the forms and where you want the data stored you have at least a couple of options.
You can create normal forms with post/get and create code to handle them.

You can also create a new class type for your form to hold the details and have it stored in ezpublish. This can be quite an effective and easy way of going about things, but you may want to tailor the edit template to make the user experience nicer.

Using the new class approach is my recommendation depending on the complexity of your form (and what you are using it for).

Arran

Bruce Morrison

Wednesday 19 October 2005 5:31:50 pm

Hi David

We have developed a "form builder" addon to eZ publish that we hope to have available via the eZ online shop very soon.

It basically allows you to define forms and have them included in a content type via a datatype. Form results can be emailed and/or stored in the database where they can be exported in CSV format.

Let me know if this is something you might find useful or if you want to see it in action.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

David Foster

Thursday 20 October 2005 3:22:13 am

Thanks Arran I'll try out your suggestion.
Hi Bruce I would be interested in finding out more about your Form Builder. Keep me posted please.
My e-mail is
david.foster@southyorks.pnn.police.uk

Kåre Køhler Høvik

Thursday 20 October 2005 5:24:50 am

It might also be worth to take a look at the survey module : http://ez.no/community/contribs/applications/ez_survey

Kåre Høvik

eZ debug

Timing: Jan 31 2025 00:40:54
Script start
Timing: Jan 31 2025 00:40:54
Module start 'content'
Timing: Jan 31 2025 00:40:54
Module end 'content'
Timing: Jan 31 2025 00:40:54
Script end

Main resources:

Total runtime0.1998 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 587.8047370.3125
Module start 'content' 0.00730.0135 958.11721,005.4688
Module end 'content' 0.02080.1789 1,963.58593,893.6250
Script end 0.1997  5,857.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00472.3728200.0002
Check MTime0.00140.6771200.0001
Mysql Total
Database connection0.00070.351510.0007
Mysqli_queries0.100550.31081410.0007
Looping result0.00170.84911390.0000
Template Total0.178589.310.1785
Template load0.00090.429510.0009
Template processing0.177688.905710.1776
Override
Cache load0.00060.294410.0006
Sytem overhead
Fetch class attribute can translate value0.00271.345010.0027
XML
Image XML parsing0.00030.133210.0003
General
dbfile0.00763.8164200.0004
String conversion0.00000.002430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs