I am having trouble with a php procedure which is called using nuRunPHPHidden. In my BE code i have
Code: Select all
if ('#RECORD_ID#' == '-1') nuRunPHPHidden('php_add_tcr');
Code: Select all
nuAddActionButton('AddContract', 'Add Contract', 'nuRunPHPHidden("php_add_tcr")');
When called from BE only RECORD_ID is set, but from the action button record_id is set and RECORD_ID takes the name of the PHP procedure. My obvious workaround is to have two copies of the procedure, but will it be possible to resolve the matter and have consistent use of the hash?