<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@PMingLiU";
        panose-1:2 2 5 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:595.0pt 842.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi Jens,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">I think the bit you need to look at is:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">EPrints::MetaField::render_input_field_actual<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Which has a call to $self-&gt;get_input_col_titles.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Did you set the render_input on the sub_field?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">If so, you might need to set render_input on the 'owning' metafield (of type=&quot;compound&quot; too).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">A cleaner alternative might be to create a subclass of EPrints::MetaField::Compound (but it depends on how you normally like to do
 things!).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Take a look at the @ISA statements in all the EPrints::MetaField classes - some of them inherit from the Compund field already and
 might do something similar to what you need?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">John<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
<b>On Behalf Of </b>Adam Field<br>
<b>Sent:</b> 13 March 2018 11:01<br>
<b>To:</b> eprints-tech@ecs.soton.ac.uk<br>
<b>Subject:</b> Re: [EP-tech] Antwort: Re: Howto hide sub-fields in workflow<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Hi Jens<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I’m not sure I understand your question.&nbsp; Which table?&nbsp; If you don’t want subfields to show on output, too, you need to write a render_output function.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I suppose the other thing you could do is hide the input fields with javascript…&nbsp; Just make sure you don’t save the bits you aren’t interested
 in, just in case.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">--<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Adam<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,sans-serif;color:black">From:
</span></b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,sans-serif;color:black">&lt;<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a>&gt; on behalf of &lt;<a href="mailto:jens.vieler@id.uzh.ch">jens.vieler@id.uzh.ch</a>&gt;<br>
<b>Reply-To: </b>&lt;<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>&gt;<br>
<b>Date: </b>Tuesday, 13 March 2018 10:43<br>
<b>To: </b>&lt;<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>&gt;<br>
<b>Subject: </b>[EP-tech] Antwort: Re: Howto hide sub-fields in workflow<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
</div>
<p style="margin-left:36.0pt"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">Hi Adam</span><span lang="EN-US"><br>
<br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">well, i can hide or do_whatever on the field while using the render_input property - but,
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;the table and it's heading is still there :-( Is it CORE? Any ideas?<br>
<br>
best regards<br>
Jens</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">--
<br>
Jens Vieler<br>
Zentrale Informatik<br>
Universität Zürich</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;PMingLiU&quot;,serif"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">Stampfenbachstrasse 73</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;PMingLiU&quot;,serif"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">CH-8006 Zürich</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;PMingLiU&quot;,serif"><br>
<br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">mail: &nbsp;<a href="mailto:jens.vieler@id.uzh.ch">jens.vieler@id.uzh.ch</a></span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;PMingLiU&quot;,serif"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">phone: &#43;41 44 63 56777</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;PMingLiU&quot;,serif"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif"><a href="http://www.id.uzh.ch">http://www.id.uzh.ch</a></span><span lang="EN-US"><br>
<br>
<img border="0" width="16" height="16" id="_x0000_i1025" src="cid:image001.gif@01D3BACA.46032E10" alt="nactive hide details for Adam Field ---12.03.2018 14:24:46---What you nee"></span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#424282">Adam
 Field ---12.03.2018 14:24:46---What you need is an input renderer. &nbsp;Set the render_input property on the field, and then I’m afraid</span><span lang="EN-US"><br>
<br>
</span><span lang="EN-US" style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#5F5F5F">Von:
</span><span lang="EN-US" style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif">Adam Field &lt;<a href="mailto:adam@adamfield.net">adam@adamfield.net</a>&gt;</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#5F5F5F">An:
</span><span lang="EN-US" style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif">&lt;<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>&gt;</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#5F5F5F">Datum:
</span><span lang="EN-US" style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif">12.03.2018 14:24</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#5F5F5F">Betreff:
</span><span lang="EN-US" style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif">Re: [EP-tech] Howto hide sub-fields in workflow</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#5F5F5F">Gesendet von:
</span><span lang="EN-US" style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif"><a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a></span><span lang="EN-US"><o:p></o:p></span></p>
<div style="margin-left:36.0pt">
<div class="MsoNormal"><span lang="EN-US">
<hr size="2" width="100%" noshade="" style="color:#8091A5" align="left">
</span></div>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US"><br>
<br>
<br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Calibri&quot;,sans-serif">What you need is an input renderer. &nbsp;Set the render_input property on the field, and then I’m afraid you’ll need to write some perl.</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Calibri&quot;,sans-serif">Alternatively, make two fields.&nbsp; Once simple, with only the things that need to be inputted, and one complex with all the other fields.&nbsp; Put the simple one in the workflow,
 and then copy the values across to the complex one in the automatic fields function of your dataset.&nbsp; That’s probably the simpler way.</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Calibri&quot;,sans-serif">--</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Calibri&quot;,sans-serif">Adam</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Calibri&quot;,sans-serif">&nbsp;</span><span lang="EN-US">
<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,sans-serif">From:
</span></b><span lang="EN-US" style="font-family:&quot;Calibri&quot;,sans-serif">&lt;<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a>&gt; on behalf of &lt;<a href="mailto:jens.vieler@id.uzh.ch">jens.vieler@id.uzh.ch</a>&gt;<b><br>
Reply-To: </b>&lt;<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>&gt;<b><br>
Date: </b>Monday, 12 March 2018 13:11<b><br>
To: </b>Eprints Tech &lt;<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>&gt;<b><br>
Subject: </b>[EP-tech] Howto hide sub-fields in workflow</span><span lang="EN-US"><br>
&nbsp; <o:p></o:p></span></p>
<p style="margin-left:72.0pt"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">Hello List</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif"><br>
I have created a dataset with fields in which one field (type=compound; multiple=1) has subfields, but not all of them are intended for input by the submitters in the workflow. How can I hide individual sub-fields?</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif"><br>
Merci Jens<br>
-- <br>
Jens Vieler<br>
Zentrale Informatik<br>
Universität Zürich</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;PMingLiU&quot;,serif"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">Stampfenbachstrasse 73</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;PMingLiU&quot;,serif"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">CH-8006 Zürich</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;PMingLiU&quot;,serif"><br>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif"><br>
mail: &nbsp;<a href="mailto:jens.vieler@id.uzh.ch">jens.vieler@id.uzh.ch</a><br>
phone: &#43;41 44 63 56777<u><span style="color:blue"><br>
</span></u></span><span lang="EN-US"><a href="http://www.id.uzh.ch/"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">http://www.id.uzh.ch</span></a>*** Options:
<a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>&nbsp;*** Archive:
<a href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>&nbsp;*** EPrints community wiki:
<a href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>&nbsp;*** EPrints developers Forum:
<a href="http://forum.eprints.org/">http://forum.eprints.org/</a>&nbsp;</span><tt><span lang="EN-US" style="font-size:10.0pt">*** Options:
<a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a></span></tt><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><br>
<tt>*** Archive: <a href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a></tt><br>
<tt>*** EPrints community wiki: <a href="http://wiki.eprints.org/">http://wiki.eprints.org/</a></tt><br>
<tt>*** EPrints developers Forum: <a href="http://forum.eprints.org/">http://forum.eprints.org/</a></tt></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US">*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a> *** Archive: <a href="http://www.eprints.org/tech.php/">
http://www.eprints.org/tech.php/</a> *** EPrints community wiki: <a href="http://wiki.eprints.org/">
http://wiki.eprints.org/</a> *** EPrints developers Forum: <a href="http://forum.eprints.org/">
http://forum.eprints.org/</a> <o:p></o:p></span></p>
</div>
</body>
</html>