Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Custom OnCompleteMessage

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

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

Page: 1
Go to End
Author Topic: 722 Views
  • thejackel
    Avatar
    Community Member
    33 Posts

    Custom OnCompleteMessage Link to this post

    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?

    722 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.