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.

Archive /

Our old forums are still available as a read-only archive.

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

Custom OnCompleteMessage


Reply


761 Views

Avatar
thejackel

Community Member, 33 Posts

26 June 2008 at 12:20am

Hello,

I've built a custom form with my own custom submit method.

It all works well apart from the submission message.

Can I create an OnCompleteMessage tab (just as a userdefinedform has), in the admin system what determines the submission message?

Or is their some other way to define a custom message for complex forms?

Currently, in my submit method I have a redirect like this:

Director::redirect('publication-request-thankyou/');

Their is also a page - publication-request-thankyou -in the admin tree what i'm using to display a custom message.

This doesn't work either. I just receive the default 'Thanks for your submission.' message.

Anybody any ideas please?