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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

User defined form - Submission works but no confirmation


Go to End


6 Posts   3022 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, 5523 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
iON creative

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, 136 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.