I need to populate a text field(status) based on the function output. This has to be called once for the form. I have added a text field in a block blk_1. Please let me know where should I add the function call to populate this field status.
Function need the input parameter which is passed to that form.