[EP-tech] Antwort: Re: Howto hide sub-fields in workflow

Adam Field adam at adamfield.net
Tue Mar 13 11:01:09 GMT 2018


Hi Jens

 

                I’m not sure I understand your question.  Which table?  If you don’t want subfields to show on output, too, you need to write a render_output function.

 

                I suppose the other thing you could do is hide the input fields with javascript…  Just make sure you don’t save the bits you aren’t interested in, just in case.

 

--

Adam

 

 

From: <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of <jens.vieler at id.uzh.ch>
Reply-To: <eprints-tech at ecs.soton.ac.uk>
Date: Tuesday, 13 March 2018 10:43
To: <eprints-tech at ecs.soton.ac.uk>
Subject: [EP-tech] Antwort: Re: Howto hide sub-fields in workflow

 

Hi Adam

well, i can hide or do_whatever on the field while using the render_input property - but,  the table and it's heading is still there :-( Is it CORE? Any ideas?

best regards
Jens
-- 
Jens Vieler
Zentrale Informatik
Universität Zürich
Stampfenbachstrasse 73
CH-8006 Zürich

mail:  jens.vieler at id.uzh.ch
phone: +41 44 63 56777
http://www.id.uzh.ch

Adam Field ---12.03.2018 14:24:46---What you need is an input renderer.  Set the render_input property on the field, and then I’m afraid

Von: Adam Field <adam at adamfield.net>
An: <eprints-tech at ecs.soton.ac.uk>
Datum: 12.03.2018 14:24
Betreff: Re: [EP-tech] Howto hide sub-fields in workflow
Gesendet von: eprints-tech-bounces at ecs.soton.ac.uk




What you need is an input renderer.  Set the render_input property on the field, and then I’m afraid you’ll need to write some perl.
 
Alternatively, make two fields.  Once simple, with only the things that need to be inputted, and one complex with all the other fields.  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.  That’s probably the simpler way.
 
--
Adam
  

From: <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of <jens.vieler at id.uzh.ch>
Reply-To: <eprints-tech at ecs.soton.ac.uk>
Date: Monday, 12 March 2018 13:11
To: Eprints Tech <eprints-tech at ecs.soton.ac.uk>
Subject: [EP-tech] Howto hide sub-fields in workflow
  

Hello List

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?

Merci Jens
-- 
Jens Vieler
Zentrale Informatik
Universität Zürich
Stampfenbachstrasse 73
CH-8006 Zürich

mail:  jens.vieler at id.uzh.ch
phone: +41 44 63 56777
http://www.id.uzh.ch*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ *** EPrints developers Forum: http://forum.eprints.org/ *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ *** EPrints developers Forum: http://forum.eprints.org/ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20180313/7995592f/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 106 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20180313/7995592f/attachment-0001.gif 


More information about the Eprints-tech mailing list