JS bug: can't access property "value"

In notification.php on line 703 there’s this line: var event = document.getElementById( 'event' ).value;.

In some cases the result from getElementById is null and the resulting value property can’t be accessed. This results in merge tags not being displayed. It can be fixed by adding a value check like this:
var event = document.getElementById( 'event' ); event = event ? event.value : null;

This bug is present in version 2.8.1.

To report a bug, please open a support ticket so it can be logged with the product team: https://www.gravityforms.com/open-support-ticket/technical/

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.