V11 Understanding the e.dataSubmitted and e.oldDataSubmitted Objects When the Dialog is Submitted.

alpha01803

Description

D39 Alpha Five v11 More about e data submitted in the dialog after validate event

When a Dialog is submitted, the data in the Dialog are submitted in the e.dataSubmitted object. In addition, the original data that was in the Dialog when it was originally opened are in the e.oldDataSubmitted object. In some cases, the developer will allow the Dialog to be submitted multiple times, and might want to re-initialize the Dialog so that each time the Dialog is submitted, the data in the e.oldDataSubmitted object are the data in the Dialog the previous time it was submitted, and not when the Dialog was initially displayed.