<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to include checkbox in displayPrompt confirmation box? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-include-checkbox-in-displayprompt-confirmation-box/m-p/96715#M28364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the below code snap to display confirmation box.&lt;/P&gt;&lt;PRE&gt;Alfresco.util.PopupManager.displayPrompt( { noEscape: true, title: this._msg("message.confirm.delete.title"), text: this._msg("message.confirm.delete", $html(this.event.title), displayDate), buttons: [ { text: this._msg("button.delete"), handler: function ... }, { text: this._msg("button.cancel"), handler: function ... isDefault: true }] });&lt;/PRE&gt;&lt;P&gt;Is there any way to integrate the checkbox within this like given below screenshot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help/suggestion/direction will be highly appreciated. Thanks in advance.&amp;nbsp;&lt;IMG alt="Example with expected checkbox confirmation box" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/26969_confirmation_with_checkbox.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jul 2019 07:01:12 GMT</pubDate>
    <dc:creator>vzanzrukia</dc:creator>
    <dc:date>2019-07-01T07:01:12Z</dc:date>
    <item>
      <title>How to include checkbox in displayPrompt confirmation box?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-include-checkbox-in-displayprompt-confirmation-box/m-p/96715#M28364</link>
      <description>I am using the below code snap to display confirmation box.Alfresco.util.PopupManager.displayPrompt( { noEscape: true, title: this._msg("message.confirm.delete.title"), text: this._msg("message.confirm.delete", $html(this.event.title), displayDate), buttons: [ { text: this._msg("button.delete"), han</description>
      <pubDate>Mon, 01 Jul 2019 07:01:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-include-checkbox-in-displayprompt-confirmation-box/m-p/96715#M28364</guid>
      <dc:creator>vzanzrukia</dc:creator>
      <dc:date>2019-07-01T07:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to include checkbox in displayPrompt confirmation box?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-include-checkbox-in-displayprompt-confirmation-box/m-p/96716#M28365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,You can include checkbox in displayprompt with below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alfresco.util.PopupManager.displayPrompt({&lt;BR /&gt; title: "Delete",&lt;BR /&gt; text: "&amp;lt;input type=checkbox id=dltDoc&amp;gt; Want to delete?",&lt;BR /&gt; noEscape: true,&lt;BR /&gt; buttons: [{&lt;BR /&gt; text: "OK",&lt;BR /&gt; handler: function onSubmit() {&lt;BR /&gt; var chkBox = YAHOO.util.Dom.get("&lt;SPAN style="background-color: #f6f6f6;"&gt;dltDoc&lt;/SPAN&gt;").checked;&lt;BR /&gt; if(chkBox){&lt;BR /&gt; &amp;nbsp; &amp;nbsp;//Your custom code&lt;BR /&gt; }else{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="background-color: #f6f6f6;"&gt;&amp;nbsp; &amp;nbsp;//Your custom code&lt;/SPAN&gt;&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; this.destroy();&lt;BR /&gt; }&lt;BR /&gt; },&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt; text: "Cancel",&lt;BR /&gt; handler: function onSubmit() {&lt;BR /&gt; this.destroy();&lt;BR /&gt; },&lt;BR /&gt; isDefault: true&lt;BR /&gt; },&lt;/P&gt;&lt;P&gt;]&lt;BR /&gt; });&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sanjay Bandhniya&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.contcentric.com/" rel="nofollow noopener noreferrer"&gt;Contcentric&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2019 07:12:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-include-checkbox-in-displayprompt-confirmation-box/m-p/96716#M28365</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2019-07-01T07:12:08Z</dc:date>
    </item>
  </channel>
</rss>

