How to remove X button from a pop-up layout?

0
Hi, I would like to remove the 'X' button from the top right corner of the pop-up layout-form. I am implementing a form which should not be closed, forcing the user to enter something. Please, advice on how to do that. Thanks in advance.
asked
4 answers
4

To hide the close button for the user you can do this by CSS:

    .modal-header 
    {
        visibility: hidden;
    }

manage the close page activity in your microflows

answered
2

You can't remove the close button, but there is a workaround:

You can select the button which acts as the close button on the pop-up. Make sure the close button is a custom action which doesn't close the form while the requirements for closing a forum aren't met.

answered
1

I had this same problem, and I resolved it by:
1. Add the "HTML Snippet" widget to the page.
2. Change the following properties for the HTML Snippet we just added:
 Content Type = JavaScript with JQuery
 Contents = $(document).ready( function() {
$('button[class=close]').hide();
});
Note: This can also be done via JavaScript, but I do not know how to code it.

answered
1

Hi Madhu,
To hide the close button for the user you can do this by CSS:
 


you can follow this syntax

.parentclassname.childclassname{
visibility:hidden;   or 
display:none;

}

eg:
.popupclose..modal-dialog .modal-content .modal-header .close {
visibility:hidden;
}

Cheers 
Narendran J

answered