Re: [Dspace-tech] input form input-type metadata validation

2015-08-12 Thread Andrea Schweer

  
  
Hi,

On 12/08/15 22:53, Saidy Binta wrote:


  
  
  
  I want to be able to validate a specific
field input-type  on the input form to only allow numbers of 4
digit length. The input-type text should only allow text instead
of alphanumeric.
I have try using number and text on the
  input-type but keep having errors. Please if someone has
  implement this can you kindly help me out or point me to the
  right direction. Thanks
  


DSpace doesn't support the behaviour you describe. If you absolutely
need to validate the input forms data and don't want to customise
core DSpace code, your best bet would probably be to add custom
_javascript_ that does this task. 

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
  


--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] input form input-type metadata validation

2015-08-12 Thread Saidy Binta
Hi All,

I want to be able to validate a specific field input-type  on the input form to 
only allow numbers of 4 digit length. The input-type text should only allow 
text instead of alphanumeric.
I have try using number and text on the input-type but keep having errors. 
Please if someone has implement this can you kindly help me out or point me to 
the right direction. Thanks

BR
Binta



DISCLAIMER: This message is private and confidential. If you have received this 
message in error please notify us and remove it from your system. Any views and 
opinions expressed in this message are those of the individual sender and do 
not necessarily represent the views and opinions of Medical Research Council 
Unit, The Gambia

___
This communication is confidential and may contain privileged information 
intended solely for the named recipient(s). It may not be used or disclosed 
except for the purpose for which it has been sent. If you are not the intended 
recipient, you must not copy, distribute, take any action or reliance on it. If 
you have received this communication in error, do not open any attachments but 
please notify the Help Desk by e-mailing h...@mrc.gm quoting the sender 
details, and then delete this message along with any attached files. E-mail 
messages are not secure and attachments could contain software viruses which 
may damage your computer system. Whilst every reasonable precaution has been 
taken to minimise this risk, The MRC Unit The Gambia cannot accept any 
liability for any damage sustained as a result of these factors. You are 
advised to carry out your own virus checks before opening any attachments. 
Unless expressly stated, opinions in this message are those of the e-mail 
author and not of the Medical Research Council Unit The Gambia.
--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette