Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
HTML
<script>
function showSaveButton(){
  AJS.$('button.save-cf-btn').show();
}

function hideSaveButton(){
  AJS.$('button.save-cf-btn').hide();
}
</script>

When you click on "Confirm" a Save button will appear

ConfiForms Form Definition
formNamef
true

 

messageWrite your messagetextarea

confirmConfirmcheckbox

confirm:trueshowSaveButton();Run custom JavaScriptconfirm

confirm:falsehideSaveButton();Run custom JavaScriptconfirm

Done with the help of this Javascript

Code Block
<script>
function showSaveButton(){
  AJS.$('button.save-cf-btn').show();
}

function hideSaveButton(){
  AJS.$('button.save-cf-btn').hide();
}
</script>

 and 2 field definition rules: 

Set on field "confirm" and Condition is set to

Code Block
confirm:true