example error
example error
The example on https://editor.datatables.net/reference/event/initSubmit as shown below has one equal sign in the "if" statement.
editor.on( 'initSubmit', function (e, action) {
if ( editor.field( 'section' ).val() = 31 ) {
editor.field( 'rank' ).val( 'Undisclosed' );
}
} );
This discussion has been closed.
Replies
Ah good spot, fixing now. It'll will be pushed the next time the website is updated...
C