Hello,
In electronic reporting, I have created a payment format, in which i have to enable or disable the generation of a control report based on user input (please refer to screenshot below) :-

As shown in the screenshot, I have added a user input parameter, which provides the user with a checkbox when generating payment :-

Can anyone help me with how to use this checkbox to control whether the control report is generated or not?
Can this be done in the format designer itself? or do I have to do some coding?
Thanks