fields in submission-forms.xml

33 views
Skip to first unread message

Emilia Lobo

unread,
Jul 5, 2024, 10:34:14 AM7/5/24
to DSpace Technical Support
How can I make a field load based on another previously loaded?
For example: in this code I need the "races"
are charged according to the "faculties".
            <row>
                <field>
                    <dc-schema>uni</dc-schema>
                    <dc-element>faculty</dc-element>
                    <repeatable>false</repeatable>
                    <label>Faculty</label>
                    <input-type value-pairs-name="uni_facultades">dropdown</input-type>
                    <hint>Select faculty.</hint>
                    <required>You must select a faculty</required>
                </field>
            </row>
            <row>
                <field>
                    <dc-schema>uni</dc-schema>
                    <dc-element>career</dc-element>
                    <repeatable>false</repeatable>
                    <label>Career</label>
                    <input-type value-pairs-name="uni_careers">dropdown</input-type>
                    <hint>Select career</hint>
                    <required>You must select a career</required>
                </field>
            </row>
I hope you can help me.
Thank you.
Emilia.-
Reply all
Reply to author
Forward
0 new messages