A little more detail…
When I enter
Into the custom code embed, and then publish, it turns into
checkMandatory(). This is breaking my required fields.