Submission Form - controlled input values

93 views
Skip to first unread message

Agustín Alfieri

unread,
Jun 16, 2022, 8:12:36 AM6/16/22
to DSpace Technical Support
Hi! 
Is there a way to only allow certain formats of values to be available when doing a submission? For example, for the field "Page Range" i want the user to only be able to put numbers in this format "xxx-xxx" (where x is any number).
Is there a feature to do this? I'm currently working with Dspace 6.3

Agustín.

Sean Kalynuk

unread,
Jun 29, 2022, 3:22:00 PM6/29/22
to Agustín Alfieri, DSpace Technical Support

Hi Agustín,

 

The feature isn’t available in DSpace 6.x as far as I’m aware of, but it is available in DSpace 7 by using the regex element:

 

https://wiki.lyrasis.org/display/DSDOC7x/Submission+User+Interface#SubmissionUserInterface-CompositionofaField

 

--

Sean

 

From: 'Agustín Alfieri' via DSpace Technical Support <dspac...@googlegroups.com>
Date: Thursday, June 16, 2022 at 7:12 AM
To: DSpace Technical Support <dspac...@googlegroups.com>
Subject: [dspace-tech] Submission Form - controlled input values

Caution: This message was sent from outside the University of Manitoba.

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/8fed4b83-46d0-4db0-bbb9-4a6238955f39n%40googlegroups.com.

Agustín Alfieri

unread,
Jun 30, 2022, 8:59:04 AM6/30/22
to DSpace Technical Support
Hi Sean,

Kim Shepherd told me something similar in Slack so I've researched "regex" validation a little bit and it's seems like it could be the solution to my problem. I'm going to try to backport it to Dspace 6, but if I can't make it work I may migrate to Dspace 7. The only reason why I didn't do it before is that I needed the type-bind feature and now with 7.3 seems to be available.

Thank you for your help!

Agustín.
Reply all
Reply to author
Forward
0 new messages