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 » Developer » Problem with a contact form...
expandshrink

Problem with a contact form (feedback form)

Problem with a contact form (feedback form)

Monday 20 April 2009 11:30:04 am - 5 replies

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,

Monday 20 April 2009 12:38:22 pm

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

Modified on Monday 20 April 2009 12:39:17 pm by Guillaume Marty

Monday 20 April 2009 2:41:16 pm

Hi,

I have included this parameter in my form

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

Friday 24 April 2009 11: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.

Modified on Friday 24 April 2009 11:45:47 pm by Gabriel Finkelstein

Saturday 25 April 2009 8:29:29 pm

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).

Modified on Saturday 25 April 2009 11:10:49 pm by André R

Thursday 30 April 2009 6:47:03 pm

I have ezpublish 4.0.1

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from