Find form name or form id from custom form widget
Is there a way to get the form's ID from a widget that I made for a form? I'd like to have a widget perform an action that will require to know the form it's on. I'm able to go through and find all controls inside the form that the widget exists in (sort of a way to gather all the values on submission) but I'm missing a key item of the form's identity. This way I know where my values are coming from.