Hi there - don’t do that
Whilst it might work now, it won’t take much to break it. Is there an anchor point? For example, the main open page can be accessed with get_open_form()
.
If not, could you store the form in a property on that main form? For example :
# Set form reference.
get_open_form().my_form_reference = Form3()
# Read it from anywhere -
get_open_form().my_form_reference.repeating_panel_1 = my_item_array
Chained parent references are messy and will almost certainly cause hard to find issues in the future, as well as being unwieldy and difficult to understand in 6 months time.