Need lottie animation to start once it is visibile

So I want to have a lottie animation start when I successfully submit a form however the lottie automatically plays when I try the “Scroll into view lottie playback.” So my next solution to this is to make it so when the button presses submit, the lottie will start to animate. OR I can press the submit button and then the lottie will become visible and then start to play. Any way to code that in custom code?

Here is my public share link: LINK
(how to access public share link)

Nevermind found the solution using this Lottie success icon - On form submit - Webflow Interactions tutorial - YouTube