Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

User defined form - Submission works but no confirmation


Reply


6 Posts   2057 Views

Avatar
RonnieH

Community Member, 14 Posts

7 August 2009 at 10:48pm

Hello again,

Again, I've searched for this... seems like something that would be a common problem, but didnt come across anything that seemed helpful.

I have the newsletters module installed, and user defined forms. I have made a form with an email, firstname and lastname field. The form displays on my site (http://www.astruggleforpeace.nl/aanmelden-nieuwsbrief/) and submissions are properly entered into the database. However, when submitting the user gets no confirmation message, just a blank page (feel free to enter dummy info to try it) and moreover. As far as I can tell, it should do this... so my question is: Why might it not be?

Another small question is: How can I use a custom Email to be sent to successful submitters? Using the 'email recipients' tab I can only send a standard email with the form-details and a subject line, it will not accept any body text (it simply saves this field as blank). The 'On complete' tab actually seems wholly useless, because the email I can specify there is never sent, just like the confirmation message I entered... maybe that's where the problem lies?

I am using Silverstripe 2.3.3.

Thank you in advance for your time and trouble.

Avatar
Willr

Forum Moderator, 5513 Posts

8 August 2009 at 7:08pm

However, when submitting the user gets no confirmation message, just a blank page

Do you get any messages in your error log?

it will not accept any body text (it simply saves this field as blank)

Have you rebuilt the database recently?

Avatar
B-Side

Community Member, 42 Posts

14 August 2009 at 1:13pm

Hi there - exactly the same thing is occurring for me, using 2.3.1 Newsletter 0.1.1 and userforms 0.1.0.

I have rebuilt the database as well.

Any ideas?

Avatar
neilcreagh

Community Member, 97 Posts

29 August 2009 at 6:23am

I'm having the same problem. The user defined form is displaying and working perfectly, but the 'on complete' text just doesn't show after the form submission. It submits the form and then shows the same page but with an empty content area.

I'm using the latest install of both SS and userforms - any ideas??

Avatar
mschiefmaker

Community Member, 187 Posts

4 September 2009 at 1:31pm

Edited: 04/09/2009 2:37pm

Hi
Was getting the blank page too although initially it worked. Rebuilt the page from scratch and this 'fixed' it

Would like to know how to modify this email too but I am yet to workout where it is generated from. Do you know?

FOUND THE ANSWER - userforms/template/email/SubmittedFormEmail

Cheers

MM

Avatar
morganastreal

Community Member, 4 Posts

19 April 2012 at 3:42pm

I have found that this problem is due to where the form response is being posted.

The success text displays in the $content tag not the $form, which means it works fine if on a simple page you have $form and $content in the same area.