Hide the cancel button

Forums Classic DFFS Hide the cancel button

Viewing 1 reply thread
  • Author
    Posts
    • #12371
      Penny Kingston
      Participant

      Hi Alex, I have a situation where I need to hide the cancel button on an edit form. Is that possible? Thanks!

    • #12401
      Alexander Bautz
      Keymaster

      Hi,
      You can use this code to hide the cancel button at the bottom of the form:

      $("input[id$='diidIOGoBack']").hide();

      Use this to hide the one in the banner:

      $("#Ribbon\\.ListForm\\.Edit\\.Commit\\.Cancel-Large").hide();

      Alexander

Viewing 1 reply thread
  • You must be logged in to reply to this topic.