the event property must also be set in the edition javascript