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