I wanted to add additional "Save" button on the edit form and to make it show/hide depanding on the case.
So in case of new record the following code is making button visible - and works OK
Code: Select all
if(nuIsNewRecord()){
$('#button_save').show();
}
Code: Select all
if (nuFormType() == 'edit') {
if (nuHasBeenSaved() === 1) { $('#button_save').hide(); }
}
I was trying for example code like belowe or some other trials but with no success.
(for example the code belowe is always activating the button)
if(nuIsSaved()){
$('#button_save').show();
}
Can you please let me know how I could implement it?
Janusz