Prateek Asthana

Could you please let me know if there are video tutorials available for SilverStripe.

thezenmonkey

if you want to redirect to another page you can use

  1. Controller::curr()->redirect('url-segment');

thezenmonkey

That’s normal you need to just add a Redirect to the the end of the submit function

Prateek Asthana

Actually after submitting the form it's redirecting to myurl/Test_Controller/ContactForm/ but I want it to remain at the same page after submission.

thezenmonkey

@Prateek Asthana Do you need to disable the form submit or just the submission function?

Prateek Asthana

Hi! I am new to silverstripe, so I might sound silly asking this but please let me know how to disable form action on submission. I am using silverstripe 3.1