<?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 Re: onActionFormDialog closes even if invalid in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/onactionformdialog-closes-even-if-invalid/m-p/71826#M23387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this is an old thread, but as there is no answer for it, I decided to share what I found, as it can be useful for someone else in the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to have the submit button disabled when mandatory fields are not filled, one can replace the &lt;STRONG&gt;onActionFormDialog&lt;/STRONG&gt; parameter with &lt;STRONG&gt; onActionFormDialogWithSubmitDisable&lt;/STRONG&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2019 13:45:30 GMT</pubDate>
    <dc:creator>douglascrp</dc:creator>
    <dc:date>2019-01-08T13:45:30Z</dc:date>
    <item>
      <title>onActionFormDialog closes even if invalid</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/onactionformdialog-closes-even-if-invalid/m-p/71825#M23386</link>
      <description>Hi everybody,I defined the following action form that shos up in a dialog&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;config evaluator="string-compare" condition="DocLibActions"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;actions&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;action id="it.inforge.alfresco.protocol.action.checkProtocolledDocumentsAction"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; icon="check-protoc</description>
      <pubDate>Wed, 21 Mar 2018 14:43:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/onactionformdialog-closes-even-if-invalid/m-p/71825#M23386</guid>
      <dc:creator>milesiforge</dc:creator>
      <dc:date>2018-03-21T14:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: onActionFormDialog closes even if invalid</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/onactionformdialog-closes-even-if-invalid/m-p/71826#M23387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know this is an old thread, but as there is no answer for it, I decided to share what I found, as it can be useful for someone else in the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to have the submit button disabled when mandatory fields are not filled, one can replace the &lt;STRONG&gt;onActionFormDialog&lt;/STRONG&gt; parameter with &lt;STRONG&gt; onActionFormDialogWithSubmitDisable&lt;/STRONG&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 13:45:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/onactionformdialog-closes-even-if-invalid/m-p/71826#M23387</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2019-01-08T13:45:30Z</dc:date>
    </item>
  </channel>
</rss>

