cancel
Showing results for 
Search instead for 
Did you mean: 

Auto numbering on sequence elements in forms

sbzoom
Champ in-the-making
Champ in-the-making
Hello.
I am creating a form for making HTML slideshows.  The slideshows are broken into pages.  I have a sequence in an element and I would like one of the fields to auto-number when it is added.  Here is the sample of the xsd:


                <xs:element name="slideshow_pages">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element name="slideshow_page" minOccurs="0" maxOccurs="unbounded">
                                <xs:complexType>
                                    <xs:sequence>
                                        <xs:element name="title" type="xs:normalizedString" minOccurs="0" maxOccurs="1"/>
                                        <xs:element name="text" type="xs:normalizedString" minOccurs="0" maxOccurs="1"/>
                                        <xs:element name="page_number" type="xs:integer" minOccurs="0" maxOccurs="1"/>
                                    </xs:sequence>
                                </xs:complexType>
                            </xs:element>
                        </xs:sequence>
                    </xs:complexType>
                </xs:element>

I would like the "page_number" element to get a "1, 2, 3, 4, 5…" with each successive "slideshow_page" that is added to the form.  Is this possible?  Do I need to create my own widget for this?

Thanks.


Charlie
2 REPLIES 2

joaotpd
Champ on-the-rise
Champ on-the-rise
Hi! …
I want the same… Did you find a solution??
Thanks!

João Duarte

sbzoom
Champ in-the-making
Champ in-the-making
No.  I gave up a long time ago.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.