Redirection after form submit

#1

I have made new form for Reviewers Rating in Review tab (with new FormElements, Dao, etc…) instead of 5-star rating, I have 4 questions. After submiting form, ‘quality’ row in review_assignements table is updated as expected.

Everything worked fine, until I decided to move form from Review Details modal to new modal Rate Reviewer which I have made. Form submission still works, but after clicking on ‘submit’
instead of redirecting to Review tab, I’ve got blank page with following text:
{“status”:true,“content”:"",“elementId”:“0”,“events”:[{“name”:“dataChanged”,“data”:[“26707”]}]}

So, the question is how to redirect back to some page after submitting form?

And I need some hints about form validation

#2

Made it… I forgot to attach the form handler to .tpl file.

1 Like