I have a small form in TYPO3 V12 that generates a request for more information on the current object, I'd like to prefill a form field with the id of the object so that it is send with the request, I could not find how to do this.
update: the code of thomas (with a small correction) works but it gives a url parameter (the uid of the object), I need to get a defined object_id from the tx_myext_object_table