Page 1 of 1

show SAVE Button only after the CLONE button was pressed

Posted: Mon May 10, 2021 5:35 pm
by oli
HI,

I'd like to show th SAVE button in a edit form only after the CLONE button was pressed.

This ...

Code: Select all

if(nuFormType() == 'clone'){
    $('#nuSaveButton').show();     
}
... is not working.

Is there any possibility to find out if a form is in "clone mode" already?`

BR,
Oli

Re: show SAVE Button only after the CLONE button was pressed

Posted: Mon May 10, 2021 5:39 pm
by kev1n
Use the nuOnClone event

Re: show SAVE Button only after the CLONE button was pressed

Posted: Mon May 10, 2021 5:50 pm
by oli
great ... thank you !!!