<?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: Share Workflow Form Constraints in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/share-workflow-form-constraints/m-p/263913#M217043</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It sounds like the best way to solve this would be to add a callback to the forms runtime so you get informed when the form is being submitted. If false is returned from the callback the form does not get submitted so you could perform your custom validation in here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The tricky bit is getting hold of the forms runtime instance to register the callback. However, this post may well help you: &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=47&amp;amp;t=36027#p105602" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=47&amp;amp;t=36027#p105602&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Dec 2010 14:47:05 GMT</pubDate>
    <dc:creator>gavinc</dc:creator>
    <dc:date>2010-12-06T14:47:05Z</dc:date>
    <item>
      <title>Share Workflow Form Constraints</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-workflow-form-constraints/m-p/263912#M217042</link>
      <description>I am looking for a way to perform additional validation on form data when a transition button is clicked. Example, in a screen where there are two possible transitions: approve, reject, if Approve transition selected, then approve amount must not be zero. If reject is selected, then amount must equa</description>
      <pubDate>Tue, 30 Nov 2010 21:52:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-workflow-form-constraints/m-p/263912#M217042</guid>
      <dc:creator>stevegreenbaum</dc:creator>
      <dc:date>2010-11-30T21:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Share Workflow Form Constraints</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-workflow-form-constraints/m-p/263913#M217043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It sounds like the best way to solve this would be to add a callback to the forms runtime so you get informed when the form is being submitted. If false is returned from the callback the form does not get submitted so you could perform your custom validation in here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The tricky bit is getting hold of the forms runtime instance to register the callback. However, this post may well help you: &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=47&amp;amp;t=36027#p105602" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=47&amp;amp;t=36027#p105602&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2010 14:47:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-workflow-form-constraints/m-p/263913#M217043</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2010-12-06T14:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Share Workflow Form Constraints</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-workflow-form-constraints/m-p/263914#M217044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, thanks I'll take a look at that technique.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe that this use-case is fairly common, perhaps support for a validation handler that is triggered on a transition would be a good enhancement. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a jira enhancement request.&amp;nbsp; Please vote for this enhancement:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-6052" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-6052&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2010 15:06:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-workflow-form-constraints/m-p/263914#M217044</guid>
      <dc:creator>stevegreenbaum</dc:creator>
      <dc:date>2010-12-06T15:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: Share Workflow Form Constraints</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-workflow-form-constraints/m-p/263915#M217045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I agree.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's essentially allowing people to easily plugin submit time/form level validation handlers which there already is an enhancement raised for: &lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com/jira/browse/FORM-15" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/jira/browse/FORM-15&lt;/A&gt;&lt;SPAN&gt; feel free to raise a more publicly visible JIRA issue though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2010 17:23:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-workflow-form-constraints/m-p/263915#M217045</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2010-12-06T17:23:37Z</dc:date>
    </item>
  </channel>
</rss>

