<?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: How to make a field mandatory depending on another in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-field-mandatory-depending-on-another/m-p/327579#M14580</link>
    <description>&lt;P&gt;That's the right one to use when dealing with an input component&lt;/P&gt;</description>
    <pubDate>Thu, 30 Apr 2015 14:03:07 GMT</pubDate>
    <dc:creator>Anahide_Tchertc</dc:creator>
    <dc:date>2015-04-30T14:03:07Z</dc:date>
    <item>
      <title>How to make a field mandatory depending on another</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-field-mandatory-depending-on-another/m-p/327576#M14577</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;On the create view of one of my documents I have a list box with 3 values: a, b, c, and a date picker.&lt;/P&gt;
&lt;P&gt;I need the date to be set as mandatory only if a or b is present in the list box.&lt;/P&gt;
&lt;P&gt;I've been reading here and there about JSF and found that the most approaching answer was given by this topic on stackoverflow:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/5182106/make-a-hinputtext-required-only-when-the-checkbox-is-selected" target="test_blank"&gt;http://stackoverflow.com/questions/5182106/make-a-hinputtext-required-only-when-the-checkbox-is-selected&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But when I try to reproduce this kind of declaration inside my layout definition, it just doesn't work.&lt;/P&gt;
&lt;P&gt;Can anyone please share a sample ?&lt;/P&gt;</description>
      <pubDate>Sat, 25 Apr 2015 20:57:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-field-mandatory-depending-on-another/m-p/327576#M14577</guid>
      <dc:creator>Antoine_Cordier</dc:creator>
      <dc:date>2015-04-25T20:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a field mandatory depending on another</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-field-mandatory-depending-on-another/m-p/327577#M14578</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You're looking for cross validation, you should checkout &lt;A href="http://www.nuxeo.com/blog/cross-validation-with-jsf/" target="test_blank"&gt;http://www.nuxeo.com/blog/cross-validation-with-jsf/&lt;/A&gt; or &lt;A href="http://stackoverflow.com/questions/6282466/jsf-doesnt-support-cross-field-validation-is-there-a-workaround" target="test_blank"&gt;http://stackoverflow.com/questions/6282466/jsf-doesnt-support-cross-field-validation-is-there-a-workaround&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2015 17:49:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-field-mandatory-depending-on-another/m-p/327577#M14578</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2015-04-27T17:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a field mandatory depending on another</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-field-mandatory-depending-on-another/m-p/327578#M14579</link>
      <description>&lt;P&gt;Thanks you! For any reason I had to use getSubmittedValue() instead of getLocalValue() to get it done.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2015 11:48:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-field-mandatory-depending-on-another/m-p/327578#M14579</guid>
      <dc:creator>Antoine_Cordier</dc:creator>
      <dc:date>2015-04-29T11:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a field mandatory depending on another</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-field-mandatory-depending-on-another/m-p/327579#M14580</link>
      <description>&lt;P&gt;That's the right one to use when dealing with an input component&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2015 14:03:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-field-mandatory-depending-on-another/m-p/327579#M14580</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2015-04-30T14:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a field mandatory depending on another</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-field-mandatory-depending-on-another/m-p/327580#M14581</link>
      <description>&lt;P&gt;Thanks for this usefull precision&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2015 20:30:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-field-mandatory-depending-on-another/m-p/327580#M14581</guid>
      <dc:creator>Antoine_Cordier</dc:creator>
      <dc:date>2015-05-22T20:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a field mandatory depending on another</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-field-mandatory-depending-on-another/m-p/327581#M14582</link>
      <description>&lt;P&gt;Hey Antoine Cordier,did you achieve this in client side without pressing the submit button?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 15:29:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-make-a-field-mandatory-depending-on-another/m-p/327581#M14582</guid>
      <dc:creator>Nuxeo_User</dc:creator>
      <dc:date>2017-11-07T15:29:03Z</dc:date>
    </item>
  </channel>
</rss>

