Parent form postback when using Related Items within form
Posted: 08 Jun 2016
So, I'm in a bit of a conundrum. I don't know if I can fix it
In my regular form, I capture the time when the form is opened; I then capture the time when the form is closed within the on.submit function and use that to get how many seconds the form is opened total.
That's been working fine for months now.
However, I added a "Related Items" section to the form and noticed that when you save a Related Item (that's opened in a dialogue box), it resets the parent form and my code no longer works anymore.
I dunno what I'm asking ... is it possible for the Related Items section to not affect the parent form at all until the user clicks "Save" on the parent form?
It seems as if the Related Items force submits the parent form, and I'm just not clear enough on how all that functionality works to try and make my exisiting code still work as intended.
In my regular form, I capture the time when the form is opened; I then capture the time when the form is closed within the on.submit function and use that to get how many seconds the form is opened total.
That's been working fine for months now.
However, I added a "Related Items" section to the form and noticed that when you save a Related Item (that's opened in a dialogue box), it resets the parent form and my code no longer works anymore.
I dunno what I'm asking ... is it possible for the Related Items section to not affect the parent form at all until the user clicks "Save" on the parent form?
It seems as if the Related Items force submits the parent form, and I'm just not clear enough on how all that functionality works to try and make my exisiting code still work as intended.