Open attachment form when we click any field of enum type

i have a scenario, i have a checkbox field in form . I want when we click checkbox then automatically attachment form will we open…

You can call any code logic from modified(), if you think it makes sense.

i know , call document handling command event in modified field . But how we can call command (document handling ) event in modified method…

You’ll have to explain what problem you have with calling the code from modified() if you can call it from modifiedField().