You are viewing limited content. For full access, please sign in.

Question

Question

Collection Item Number

asked on April 5, 2019 Show version history

My client has the following question.

In the below form, I am using a Collections control, the ‘Misdemenor Cause Numbers’ is a collection and the user can add one or more rows by clicking the add button.  In Asp.Net web application, I normally have access to the index of the collection item, or I can tap into the Add buttons click event. 

In the second screenshot below, I have two rows in the collection.  If you notice, I accomplished the row number via  Custom Html, the ‘Cause #1’ , ‘Cause #2’ are the row number equivalent.  I achieved it through CSS, so it is not persisting in the page so could not save it to the repository.  The third and fourth screenshot at the end is the custom html and the associated css for the row increment, but it will not work in this case as I am unable to save it to the repository.

Basically I want another field in each row with a sequence number of how many ever items/rows in the collection.

0 0

Replies

replied on April 5, 2019

The following might help you out for displaying the row number.

https://answers.laserfiche.com/questions/157612/Forms--Collections-current-index-or-item-number

For saving it on the back-end, you could add the dataset variable to your custom HTML and it should get populated.

2 0
You are not allowed to follow up in this post.

Sign in to reply to this post.