Code: Select all
if(nuFormType() == 'edit'){
nuAddActionButton('AddNewRecord', 'Add', 'nuAddAction()');
}
The example from the wiki results in an error:
https://wiki.nubuilder.cloud/ ... ipt#nuForm
nuForm(nuGetProperty('form_id'), "-1", '', '', '0', '1');
nucommon.js?ts=20191120121019:1285 Uncaught DOMException: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
at nuDecode (nucommon.js?ts=20191120121019
at nuForm (nuajax.js?ts=20191120121019:53:13)
at <anonymous>:1:1