This example illustrates an SVG document have an event handler that is active when the SVG is embedded in an HTML document and which access a form element within the parent HTML document.