Can't submit form prior to embedding it in my webpage