<?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: Workflow : How to make a field required only for the accept button and not the reject one? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319531#M6532</link>
    <description>&lt;P&gt;well it is evaluated once, so that the form can display a "*" marker to show the user that the field is required, but it's evaluated again at submit&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2013 15:59:37 GMT</pubDate>
    <dc:creator>Anahide_Tchertc</dc:creator>
    <dc:date>2013-05-16T15:59:37Z</dc:date>
    <item>
      <title>Workflow : How to make a field required only for the accept button and not the reject one?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319522#M6523</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;On Nuxeo 5.6, using Studio, about forms in accept/reject tasks :
I would like through the workflow designer to make a field required, but only for the "accept" button and not for the "reject" one.&lt;/P&gt;
&lt;P&gt;I tried something by setting the required field to false and by using conditions on transitions in a way that I "manually" check the value of a given NodeVariable, if it is empty and the user pressed "validate", the user is redirected to the same task. But this lead to a user-confusing experience I'm trying to avoid.&lt;/P&gt;
&lt;P&gt;The nice way would be to work at the jsf form validation level so the user is not redirected to an other page. Is it possible through studio? Is it even possible outside studio?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2013 12:24:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319522#M6523</guid>
      <dc:creator>ganie_</dc:creator>
      <dc:date>2013-05-14T12:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow : How to make a field required only for the accept button and not the reject one?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319523#M6524</link>
      <description>&lt;P&gt;&lt;A href="https://jira.nuxeo.com/browse/NXS-1210" target="test_blank"&gt;https://jira.nuxeo.com/browse/NXS-1210&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2013 14:52:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319523#M6524</guid>
      <dc:creator>geekonspace</dc:creator>
      <dc:date>2013-05-14T14:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow : How to make a field required only for the accept button and not the reject one?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319524#M6525</link>
      <description>&lt;P&gt;Ok, thx. I guess I ll stay with my condition trick for a while&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2013 15:18:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319524#M6525</guid>
      <dc:creator>ganie_</dc:creator>
      <dc:date>2013-05-14T15:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow : How to make a field required only for the accept button and not the reject one?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319525#M6526</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2013 13:51:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319525#M6526</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2013-05-16T13:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow : How to make a field required only for the accept button and not the reject one?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319526#M6527</link>
      <description>&lt;P&gt;You can try adding the following expression for the custom property "required" on the widget definition:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;#{request.getParameter('button') == 'accept'}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Here 'accept' is the name of the button defined on the workflow.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2013 14:12:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319526#M6527</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2013-05-16T14:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow : How to make a field required only for the accept button and not the reject one?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319527#M6528</link>
      <description>&lt;P&gt;ok, I thought he wanted the same behavior when a person develops a classical form with the accept and cancel buttons, where the person pressing the cancel button does not matter any validation&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2013 14:27:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319527#M6528</guid>
      <dc:creator>geekonspace</dc:creator>
      <dc:date>2013-05-16T14:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow : How to make a field required only for the accept button and not the reject one?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319528#M6529</link>
      <description>&lt;P&gt;thanks, it works&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2013 15:06:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319528#M6529</guid>
      <dc:creator>geekonspace</dc:creator>
      <dc:date>2013-05-16T15:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow : How to make a field required only for the accept button and not the reject one?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319529#M6530</link>
      <description>&lt;P&gt;Well, I understand the difference, however, the case suggested by murkein might be enough for me. In my specific case, I don't care about the field value when I reject the form.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2013 15:15:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319529#M6530</guid>
      <dc:creator>ganie_</dc:creator>
      <dc:date>2013-05-16T15:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow : How to make a field required only for the accept button and not the reject one?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319530#M6531</link>
      <description>&lt;P&gt;Ok, I will try this one, I thought the "required" custom property was only evaluated when the form is rendered so it's value is precalculated before the form submition. I'll see&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2013 15:17:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319530#M6531</guid>
      <dc:creator>ganie_</dc:creator>
      <dc:date>2013-05-16T15:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow : How to make a field required only for the accept button and not the reject one?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319531#M6532</link>
      <description>&lt;P&gt;well it is evaluated once, so that the form can display a "*" marker to show the user that the field is required, but it's evaluated again at submit&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2013 15:59:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319531#M6532</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2013-05-16T15:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow : How to make a field required only for the accept button and not the reject one?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319532#M6533</link>
      <description>&lt;P&gt;I tried the given solution, but it is not working. The form is submitted and no validation error is thrown.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2013 18:35:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319532#M6533</guid>
      <dc:creator>ganie_</dc:creator>
      <dc:date>2013-05-22T18:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow : How to make a field required only for the accept button and not the reject one?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319533#M6534</link>
      <description>&lt;P&gt;strange, i tested it, and it seems murkein made it work too, so i don't know what could be wrong in your case, unless you have more details?&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jun 2013 12:14:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319533#M6534</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2013-06-02T12:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow : How to make a field required only for the accept button and not the reject one?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319534#M6535</link>
      <description>&lt;P&gt;Remark&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2013 17:03:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319534#M6535</guid>
      <dc:creator>milonette_</dc:creator>
      <dc:date>2013-06-14T17:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow : How to make a field required only for the accept button and not the reject one?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319535#M6536</link>
      <description>&lt;P&gt;Hi, I tried use it with a input user suggestion widget but not working. It Only worked with my input type&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2013 17:27:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/workflow-how-to-make-a-field-required-only-for-the-accept-button/m-p/319535#M6536</guid>
      <dc:creator>geekonspace</dc:creator>
      <dc:date>2013-06-14T17:27:21Z</dc:date>
    </item>
  </channel>
</rss>

