This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Discussions » How to Create eZ Publish Forms
expandshrink

Wednesday 29 July 2009 10:36:32 am - 12 replies

» Read full tutorial

Introduction

This article is part of the eZ Publish “How to” series and provides a step-by-step guide to creating a custom form for an eZ Publish website. To integrate with other examples in this series, this article focuses on the creation of a membership application form for the “eZ Tennis Club” website.

Monday 25 January 2010 4:01:21 pm

How i can add javascript in form

i created one form using this method. In my form i have a dropdown box and it contain 3 options .When i selected one item from their i want to show another dropdown.how i can do this one

Monday 22 February 2010 2:45:59 am

The reply has been removed because of violation of forum rules.

Monday 22 February 2010 1:40:40 pm

Thanks a million. It was very helpful.

Tuesday 18 May 2010 2:13:31 pm

The roadmap is illegible, and no larger version seems to exist.

Thursday 08 July 2010 10:43:37 am

You can view a large Version of the roadmap image at
http://ez.no/br/images/community/articles/how_to_create_ez_publish_forms/collected_information_form_functions_road_map

Wednesday 21 July 2010 8:47:22 am

The reply has been removed because of violation of forum rules.

Wednesday 21 July 2010 8:50:00 am

The reply has been removed because of violation of forum rules.

Wednesday 29 June 2011 6:12:59 pm

You can view a large Version of the roadmap image at
http://ez.no/br/images/community/articles/how_to_create_ez_publish_forms/collected_information_form_functions_road_map

Doesn't work...

This one is still up however:

http://luxpopuli.fr/var/plain_site/storage/images/ez_publish__1/articles_divers/how_to_create_ez_publish_forms_comment_creer_des_formulaires_avec_ez_publish__1/collected_information_form_functions_road_map/15963-1-fre-FR/collected_information_form_functions_road_map.png

Monday 20 February 2012 5:58:27 pm

The reply has been removed because of violation of forum rules.

Wednesday 22 February 2012 8:08:53 am

I created a form using this method. if i give foldername/classname in url (http://xxx.com/projects/projectname/index.php/name/Muniyandi) . it displayed the form in a new page. but i want to display it in my default page at footer section. so please help me how to do

Thursday 03 July 2014 2:36:51 pm

I followed this article closely and everything works for me except the email portion.  I do not receive an email.  I've cross-checked the labeling and the files seem to be in the proper locations, but I can't figure out why it does not work.  I can create the form just fine, all the templates work, I get a confirmation page and can see the collected data in the admin interface.

I'm utilizing a DEV environment and we use GIT to push changes.  I've not yet pushed any files up to our production environment because I don't want to push something that doesn't work.  If I create a simple feedback form from the default class, the email portion works.

Any ideas would be appreciated.  I know it's difficult to answer an issue without seeing all the information, but please make suggestions no matter how small "or obvious".

Thanks!

Friday 20 November 2015 8:34:26 am

Hello,

Here some important tips for begginers like me:

If ur using this tutorial and u set custom class for ur feedback form, override.ini should be like this:

[ankieta_mail]Source=content/collectedinfomail/your_class_tpl_name.tpl
MatchFile=collectedinfomail/your_class_name.tpl
Subdir=templates
Match[class_identifier]=your_class_name

Same schema for collectedinfo.

If ur receiving "empty / blank mail" this is probably beacause ur overriding it wrong. Trun on template debug to see wichone template is loaded.

collectedinfomail template:

Do not format set-blocks in template code.

CORRECT:

<span>{</span>set<span>-</span>block scope<span>=</span>root variable<span>=</span>email_receiver<span>}</span><span>{</span><span>$object</span><span>.</span>data_map<span>.</span>membership_coordinator_email_address<span>.</span>content<span>}</span><span>{</span><span>/</span>set<span>-</span>block<span>}</span>

This need to be without any code formating. No white space or tabs like this:

WRONG:

{set-block scope=root variable=email_receiver}<span style="white-space: pre;"> </span>{$object.data_map.membership_coordinator_email_address.content}{/set-block}

Otherwise membership_coordinator_email_address will be set with some spaces and collected information will be send to admin email not to membership_coordinator_email_address (this happend in my case).

Hierarchy for email_receiver is like this:

membership_coordinator_email_address

attribute in your feedbackform class if its not set, mail will send to:

...\settings\siteaccess\YOUR_SITE_NAME\site.ini.append.php

[InformationCollectionSettings]EmailReceiver=example@mail.com if its not set, mail will send to:

...\settings\override\site.ini.append.php

[MailSettings]AdminEmail=admin_example@mail.com

Modified on Friday 20 November 2015 8:37:27 am by Jacek Mielczarek

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from