Hide Sve Button
- This topic has 1 reply, 2 voices, and was last updated 11 years, 11 months ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Home › Forums › Classic DFFS › Hide Sve Button
Hi Alex,
Is it possible to hide the save button unless something is added/changed in the form.
My intent is to prevent people opening a form and not making any amendments to be able to save. Hence I want them to save only if they add or make a change to a column in the form.
Thanks
Peter
Hi,
I cannot think of any other method than to set up a rule for a selection of fields that you want them to change, use the trigger “is changed from initial value” and call “showTheSaveBtn” in the “Run these functions.
Then add this to the Custom JS:
// Hide initially
spjs.dffs.toggleSaveBtn(false);
// This function triggers on a rule
function showTheSaveBtn(){
spjs.dffs.toggleSaveBtn(true);
}
Alexander