Redirect after submitting rating form

Jake B.

Well-known member
I'm trying to make a redirect after the rating form is submitted, but it will not redirect it's just displaying the message and not continuing to the next page. Any ideas?

- Jake
 
Well, there wasn't a lot of info to go on to be otherwise sure of that.

You might need to expand a bit as it is, because obviously the default behaviour of the rating form in the Resource Manager does redirect as expected. Is there any other JS involved? Any errors in the browser console? What does your template and controller look like?
 
Well, there wasn't a lot of info to go on to be otherwise sure of that.

You might need to expand a bit as it is, because obviously the default behaviour of the rating form in the Resource Manager does redirect as expected. Is there any other JS involved? Any errors in the browser console? What does your template and controller look like?

I've sent you a PM as most of this was not created by us, and we were just hired to improve on some things. So I'm not sure that I can publicly share the code from it

- Jake
 
Thanks.

The code doesn't use AutoValidator so most of the behaviours including the data-redirect flag won't do anything.

You will likely need to handle the redirection code yourself in the JS, unless setting AutoValidator on the form will perform how you want it but I suspect it might not; you'll have to test that.
 
Thanks.

The code doesn't use AutoValidator so most of the behaviours including the data-redirect flag won't do anything.

You will likely need to handle the redirection code yourself in the JS, unless setting AutoValidator on the form will perform how you want it but I suspect it might not; you'll have to test that.

I've tried adding the AutoValidator class as well, with no luck. I know the rating system wasn't meant to work like this as it usually goes to another page that has you enter a review (like with the resource manager). We'll keep looking into it, thanks for your help Chris!

- Jake
 
Back
Top Bottom