Dynamic ACTION field for forms in CMS Collection Pages

I’m not sure if it’s that change or not, but ever since I fill out that ACTION field with the #, it redirects to a blank page, and the form handler still does not receive the submission.

I’m currently testing the script that Sam-G very kindly helped me produce

<script type="text/javascript">
document.getElementById('#form_id').action = "CMS-PROPERTY-VALUE";
</script>

The other one I mentioned I haven’t tried because I’m not sure how to implement.