29
Views
3
Comments
Pass checkbox value from web block to parent

Hello All,

Currently I am trying to check the selected records in a webblock and subsequently check if the selected records are valid or invalid in the parent's screen action. How could I achieve that?


Referring to the attached screenshot above, the Document to upload section means the active/current uploaded docs, and the Uploaded Docs By User means the existing docs that have been uploaded and saved for that request. The concern is that how could I check for the selected records under Uploaded Docs By User section and knowing them in parent's screen action?

Hello Junior,


The only way to send data outside from Block to parent is event handler. You will have to create an event in your block, trigger this event when you are click on checkbox and in parent block/screen create a handler to catch the request and do your changes.


Regards,

Sanjay