Form not working

I am trying to apply a form like this to my website but it is not working properly. I think the problem is where the form is in an externally loaded mc, but i’m not sure how to tweak the code to get it to work. Am i way off base with this? any help would be great. Thanks.