Form

Author Message

Finn David Nilsen

Tuesday 30 December 2003 2:56:28 pm

I try to make a form. First I made a infopage, and then I made a tml with the form inside, connected to the infopage node. So far everythings ok. But when I try the form at the usersite, it wont run.

This is the problem:
<form action="/form/process" method="post">
What is the right call....?

I'm using ez 3.3

Balazs Halasy

Friday 02 January 2004 1:52:26 am

Could you please be a bit more specific? What kind of form are you trying to implement. What is the entire code for your form? Why "won't it run"? Are there any error or debug messages?

Balazs

Finn David Nilsen

Friday 02 January 2004 11:18:59 am

Here is my override template for the node 231 (and class 10, infopage):

<form action="/form/process" method="post">

<p><b><font color="#000000" face="Arial" size="3">Type kommentar:</font></b></p>
<dl>
<dd><b><font color="#000000" face="Arial" size="3"><input type="radio" name="MeldingsType" value="Klage">Klage  <input type="radio" checked name="MeldingsType" value="Forslag">Forslag<input
type="radio" name="MeldingsType" value="Ros">Ros</font></b></dd>
</dl>

<p><strong><b><font color="#000000" face="Arial" size="3">Hva vil du kommentere?</font></b></strong></p>
<dl>
<dd><b><font color="#000000" face="Arial" size="3"><select name="Emne" size="1">
<option selected>Web-område</option>
<option>Webhotell</option>
<option>Linker</option>
<option>Tips om linker</option>
<option>Annet</option>
</select> Andre: <input type="text" size="26" maxlength="256" name="AndreEmner"></font></b></dd>
</dl>

<p><strong><b><font color="#000000" face="Arial" size="3">Skriv inn kommentarene dine i feltet nedenfor:</font></b></strong></p>
<dl>
<dd><b><font color="#000000" face="Arial" size="3"><textarea name="Kommentarer" rows="5" cols="42"></textarea></font></b></dd>
</dl>
<dl>
<dd>
<table>
<tr>
<td>
<b><font color="#000000" face="Arial" size="3">Navn</font></b> </td>
<td>
<font face="Arial Black" color="#000000" size="2"><b><input type="text" size="35" maxlength="256" name="BrukerNavn"> </b></font></td>
</tr>
<tr>
<td>
<b><font color="#000000" face="Arial" size="3">E-post</font></b> </td>
<td>
<font face="Arial Black" color="#000000" size="2"><b><input type="text" size="35" maxlength="256" name="BrukerEpost"> </b></font></td>
</tr>
</table>
</dd>
</dl>
<input type="hidden" name="MailSubject" value="Form information" />
<input type="hidden" name="MailSendTo" value="webmaster@hedmarkonline.no" />

<input type="hidden" name="MailSendFrom" value="webmaster@hedmarkonline.no" />

<input type="hidden" name="RedirectTo" value="http://www.hedmarkonline.no/ez/index.php" />

<p><font face="Arial Black" color="#000000" size="2"><b><input type="submit" value="Send kommentarer"> <input type="reset" value="Tøm skjema"></b></font></p>
</form>

The form can bee seen "in action" here:
http://www.hedmarkonline.no/ez/index.php/content/view/full/231

eZ debug

Timing: Jan 19 2025 04:20:26
Script start
Timing: Jan 19 2025 04:20:26
Module start 'content'
Timing: Jan 19 2025 04:20:26
Module end 'content'
Timing: Jan 19 2025 04:20:27
Script end

Main resources:

Total runtime0.9301 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 588.7656180.8594
Module start 'content' 0.00720.7343 769.6250527.0156
Module end 'content' 0.74160.1884 1,296.6406336.7813
Script end 0.9300  1,633.4219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00480.5153210.0002
Check MTime0.00230.2438210.0001
Mysql Total
Database connection0.00080.085710.0008
Mysqli_queries0.833889.64701940.0043
Looping result0.00230.25061920.0000
Template Total0.895496.320.4477
Template load0.00260.282420.0013
Template processing0.892795.985020.4464
Template load and register function0.00040.046610.0004
states
state_id_array0.00080.089610.0008
state_identifier_array0.00140.154620.0007
Override
Cache load0.00230.2501600.0000
Sytem overhead
Fetch class attribute can translate value0.00170.187130.0006
Fetch class attribute name0.00170.179540.0004
XML
Image XML parsing0.00100.106030.0003
class_abstraction
Instantiating content class attribute0.00000.001540.0000
General
dbfile0.00840.9041270.0003
String conversion0.00000.000930.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs