Place a openlayers map as <div></div> in a form application

Hello All,
i want to place a openlayers map in a form application. To place it in a blank application is no problem, but i want set some form fields with click-informations from the map so it is IMHO the best way to place the map in the form application. But how can I implement this?

Many thanks for any help!:slight_smile: