How can I hide button on javascript dialog popup

Hi,

Any clue how to hide these two(yes/no) button from the Dolibarr popup? Like passing any parameter value to the function formconfirm() or something else? Dynamically not editing the core file.

Thanks
Saikat

Hello,

You want to hide completely the pop-ups ? or just the buttons ?

To hide the pop-ups : Module : Remove Confirmation Pop-up

Hi Ksar,

Thanks for your reply. I just want hide those buttons only as I am using this popup to show an info only.

Thanks
Saikat

To just show info text, maybe it’s better to use the constant “setEventMessage()” or “setEventMessages()”

Hello,

Exactly, formconfirm is not designed for that.

Thanks @milenmk

Actually I am looking something JS popup like thing if present in Dolibarr or not. Where I will show some details from db. Anyway thanks for your comment. I will try to use any JS popup type things.

Thanks
Saikat

Hi @ksar

I will try to get something like JS popup to some info from DB.

Thanks
Saikat