EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #04564


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: date input style


The documentation is wrong as there were two versions of the date function, and the release version didn’t get the correct version.  I’m not sure if this has been fixed in 3.3.14 – if not, this is an easy win for the hack day!

 

Lizz

 

--

Lizz Jennings BA MSc ACLIP MCLIP (Revalidated 2014)

Technical Data Officer

The Library 4.10, University of Bath, Bath, BA2 7AY UK

Ext. 3570 (External 01225 383570)

E.Jennings@bath.ac.uk

Research Data Management: http://www.bath.ac.uk/research/data

 

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Matthew Brady
Sent: 18 August 2015 06:47
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] date input style

 

Hi All,

 

Currently running 3.3.10

 

I am trying to get a date field to display as a datepicker (rather than the multiple text boxes) as mentioned in the documentation (http://wiki.eprints.org/w/Date_field)

 

Input_style

 

"long"            Render labeled text entry boxes for year, month and day.

"short"          Render a single text entry box with a _javascript_ date picker.

 

 

But I am getting an error when I try to add the new field into the structure…

 

Field 'eprint.existencedates_dateTo' has invalid parameter:        input_style => short

Is it possible to do this? Or am I misreading the doco?

Thanks

 

Matt

 

 

 
_____________________________________________________________
This email (including any attached files) is confidential and is for the intended recipient(s) only. If you received this email by mistake, please, as a courtesy, tell the sender, then delete this email.
 
The views and opinions are the originator's and do not necessarily reflect those of the University of Southern Queensland. Although all reasonable precautions were taken to ensure that this email contained no viruses at the time it was sent we accept no liability for any losses arising from its receipt.
 
The University of Southern Queensland is a registered provider of education with the Australian Government.
(CRICOS Institution Code QLD 00244B / NSW 02225M, TEQSA PRV12081 )