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.

Template Questions /

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

UserDefinedForm > "On Complete" Message Not Showing


Go to End


5 Posts   2195 Views

Avatar
Garrett

Community Member, 245 Posts

13 January 2009 at 9:14am

Hi,

I was wondering why the "On Complete" text in my Contact form might not be showing up? The email is sent out and everything else seems to be working fine, but after the form is submitted the page is blank.

Thanks,
Garrett

Avatar
Carbon Crayon

Community Member, 598 Posts

13 January 2009 at 10:32am

Hi Garret

Make sure you have $Content in your Page.ss, I had this issue the other day.

Aram

Avatar
Garrett

Community Member, 245 Posts

13 January 2009 at 10:35am

That was totally it! Haha! Thanks! I figured the only template being used was UserDefinedForm.ss, but I guess not--

Thanks a lot,
Garrett

Avatar
Carbon Crayon

Community Member, 598 Posts

13 January 2009 at 12:06pm

hehe yep, UserDefinedForm is actually an extention of Page so doesnt have its own template at all :)

Avatar
Garrett

Community Member, 245 Posts

14 January 2009 at 3:29am

It can, though, just in case you don't know. You can cerate a UserDefinedForm.ss, which I had done for HTML reasons, and this is why I was duped with the $Content variable ;)

Thanks again,
Garrett