Pop Up After Filling A Form

Hey folks!

So I’ve created a pop-up on my website. The idea is to show the pop-up once they fill the email ID and click on submit button on my website (it’s the main CTA).
I created an interaction to display the pop-up when the button is clicked.

Now, the issue is, the pop-up comes into view even if the button was clicked without filling the form.
Is there any way to activate the pop-up interaction ONLY after filling the form?

This is not possible without writing custom code.

I see. Can you throw some more light on this?
Any idea where can I find custom code for this?