EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #04653
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Default date values
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Default date values
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- Date: Mon, 7 Sep 2015 15:15:59 +0100
You want field_validate.pl https://github.com/eprints/eprints/blob/3.3/lib/defaultcfg/cfg.d/field_validate.pl You should be able to write validation function for specific fields. -- Adam Field Business Relationship Manager and Community Lead EPrints Services +44 (0)23 8059 8814 On 7 Sep 2015, at 14:46, Andrew Beeken wrote: > Hello! > > We’ve got a number of different date fields in our repository and we’re trying to standardise the data we get out of them for new deposits so that we can guarantee a DD/MM/YYYY value each time. At the moment people do not have to specify values for Day and Month and they show up in the dropdowns as ? And Unspecified respectively for blank options. Is there a way to remove these so that we can encourage people to give us somewhat more specific (or as close as possible) dates? I’ve looked through the files and I can’t seem to see any other date fields which have default values attached. > > Cheers! > Andrew > > The University of Lincoln, located in the heart of the city of Lincoln, has established an international reputation based on high student satisfaction, excellent graduate employment and world-class research. > > The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies. > > Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions. > > The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://lincoln.ac.uk/legal. > > *** 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/
- References:
- [EP-tech] Default date values
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Default date values
- Prev by Date: [EP-tech] Default date values
- Next by Date: [EP-tech] Re: Some questions about SWORDv2/CRUD endpoint
- Previous by thread: [EP-tech] Default date values
- Next by thread: [EP-tech] Re: Default date values
- Index(es):