URL redirect on html form

URL redirect on html form

On my form I have the url set to redirect to a thank you page on my site but it is not working when I am using the html version of the form. I added the url in the code where it says to but I am still getting sent to the Zoho thank you page. 

<input type="hidden" name="zf_redirect_url" value=" https://www.mysite.com/thank-you.html"><!-- To redirect to a specific page after record submission , place the respective url within the " " in the above hidden input field -->

Is there anything else I need to do to get the html version of the form to go to the redirect url after the user submits the form?

It is working when I use the js embed. I just prefer the html because there is no delay for the form to load and I can adjust styles easier.

Thanks