Presumably the completed fields in a COTG form are persistent by nature of some JSON or DB storage when one revisits the form as you can see them pop into view moments after an already visited form loads.
My question is: What is the event which drives this behaviour as I am trying to prevent an onLoad function from occurring in a form which has previously been initiated but from all tests thus far, it appears my check for that ‘already active’ flag are firing before the previously filled values are being loaded in by COTG? If I knew what event the existing data load was bound to, I could bind my check to the same or subsequent event.
I’ve tried writing ‘true’ to a hidden field but on load, the field reports the default value, not the written one.
In summary, how do I ensure my startup function only runs once?