Forums / Developer / Problem with a contact form (feedback form)

Problem with a contact form (feedback form)

Author Message

Alain Mangana

Monday 20 April 2009 2:30:04 am

I have a contact form when you click on submit button, the url display http://www.monsite.com/index.php/fr/content/action and the form doesn't sended, I do not know where is the problem. is that someone has an idea? as if my form stop at action.

excuse me for my bad English,

http://tikdem.com
/

Guillaume Marty

Monday 20 April 2009 3:38:22 am

Hello Alain,

Most likely you removed an input in the template which is needed to use the feedback form.

The content/action module expects a POST parameter named "ActionCollectInformation" (usually the submit btn) to know that it has to run the collectinformation module.

I hope this can help.

Cheers

Alain Mangana

Monday 20 April 2009 5:41:16 am

Hi,

I have included this parameter in my form

<input type="submit" name="ActionCollectInformation" value="{"Send form"|i18n("design/ezwebin/full/feedback_form")}" />

http://tikdem.com
/

Gabriel Finkelstein

Friday 24 April 2009 2:45:15 pm

Make sure you have all the attributes in your template. When you set an attribute as collector but you don't include it in the form, the form won't be submitted nor throw an error.

André R.

Saturday 25 April 2009 11:29:29 am

Witch ezp version are you using?

Edit: Thought I had an issue on 4.1 for a while, but the developer that made the form had removed a attribute from the html based on certain conditions, and the info collector silently failed when the attribute was missing from the request (so solved by hiding it with css instead).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Alain Mangana

Thursday 30 April 2009 9:47:03 am

I have ezpublish 4.0.1

http://tikdem.com
/