Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

show SAVE Button only after the CLONE button was pressed

Questions related to using nuBuilder Forte.
Post Reply
oli
Posts: 118
Joined: Sat Mar 20, 2021 3:22 pm
Has thanked: 4 times

show SAVE Button only after the CLONE button was pressed

Unread post 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
kev1n
nuBuilder Team
Posts: 4305
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 446 times
Contact:

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

Unread post by kev1n »

Use the nuOnClone event
oli
Posts: 118
Joined: Sat Mar 20, 2021 3:22 pm
Has thanked: 4 times

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

Unread post by oli »

great ... thank you !!!
Post Reply