Robin,

Thanks for the reply.

I am using xmlui. And in particular branching based specifically on type is 
what I am looking for (although a general branching would be nice).  I'd like a 
different form to appear depending on the type of document being submitted (say 
book vs thesis).  Right now I have it rigged by setting a separate form for 
each collection. And each collection is one specific document type.  But I'd 
like to intermix document types in a single collection thus letting me use the 
DSpace collection concept to....ummmmm..... separate different collections :)

I'm still a noob with DSpace.  Would looking more into the initial questions be 
a fruitful path for me?

- Damian


________________________________________
From: Robin Taylor [[email protected]]
Sent: Tuesday, December 15, 2009 9:56 AM
To: Sobieralski, Damian Michael; [email protected]
Subject: RE: [Dspace-tech] Conditional submission form rendering based on 
answers from a previous page

Hi Damian,

The Initial Questions screen was a basic attempt to do that in that the
metadata collected was in some ways dependant on the answers to the initial
questions. To my mind is was a first step towards a true type based
submission. There was a Google Summer Of Code project this year to develop
an Item Type based submission. We are currently implementing it but it may
be more heavyweight than you require. Are you using the XMLUI or the JSPUI ?

Cheers, Robin.



> -----Original Message-----
> From: Sobieralski, Damian Michael [mailto:[email protected]]
> Sent: 14 December 2009 19:58
> To: [email protected]
> Subject: [Dspace-tech] Conditional submission form rendering
> based on answers from a previous page
>
> Is there a way to conditionally render a submission form
> based on the answers of a previous answer?  For instance,
> let's assume that I have the following in input-forms.xml:
>
> <page number="1">
>
>       <field>
>               <dc-schema>dc</dc-schema>
>               <dc-element>type</dc-element>
>               <dc-qualifier></dc-qualifier>
>               <repeatable>false</repeatable>
>               <label>Type</label>
>               <input-type
> value-pairs-name="common_types">dropdown</input-type>
>               <visibility>workflow</visibility>
>               <hint></hint>
>               <required>Please select a type</required>
>       </field>
> </page>
>
>
> So I'd like depending on what the submitter selects for type
> on page 1 for page 2 to be rendered based on what they chose.
> Basically I'd like some sort of if-else type behavior.
>
> Possible?
>
> Thanks in advance.
>
> - Damian
>
>
> --------------------------------------------------------------
> ----------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>


--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to