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

Question

Question

Deleted rows of a collection keeps showing up

asked on April 29, 2015

Hi!

Deleted rows of a  collection keeps showing up with empty fields in the next step of the business process.

scenario: the user fills up the collection with two or more rows and submit the form. In the second task, the user deletes all of them (they disappear from the screen) except one and submits the form. In the last step, the collection brings the row we kept and the ones we deleted, but with all the fields in blank.

This is an error or the delete button only works before the form is submited in the first place?

 

Thanks,

 

Hanoi

 

0 0

Replies

replied on September 1, 2021

You have to put all the collection's subvariables on the form (and then probably hide them with field rules). Otherwise, deleting the "row" only deletes the fields which are present on that form, and if any subvariables aren't deleted then the "row" won't be deleted.

I really wish that were not how that worked, but that's how it works.

2 0
replied on December 3, 2024 Show version history

I had this problem. I had unused collection variables not used on the collection so I deleted them using Variable Management. Problem solved. Thanks for the clue on this!

0 0
replied on December 18, 2024

Thanks Sam!  This worked for me!

replied on December 18, 2024

Thanks Sam!  This was driving me crazy and your suggestion worked for me!

0 0
replied on April 29, 2015

What version of Forms are you running?

0 0
replied on December 19, 2024 Show version history

Laserfiche Forms Professional Version 11.0.2311.50553

 

I encountered this again yesterday in a separate scenario...

0 0
replied on December 9, 2020

Did you find a solution,

 

I get the similar issue and do not see how to fix it, and I used the latest version of Forms 10.4.5.282

0 0
replied on December 31, 2024

I had also the same problem.

I have deleted all the subvariables of the collection that were not in the form but I still have the problem.

In my scenario, I have in my form a collection with 3 rows. After the submission, I run a workflow with a "Retrieve Business Process Variables" that gives me an array of 3 rows for each field of the collection. Then, in the workflow, I change all the arrays so that they have only 2 rows. I send them back to the form with  "Set Business Process Variables" and I create a user task.

In the monitoring, every array has 2 rows

But when I open the user task, the collection has still 3 rows

I have checked that every array. Each of them sonly 2 rows but I keep seeing 3 rows in the forms.

I am in version Lserfiche Forms Professional Version 11.0.2311.50564

 

Thanks for any help

 

0 0
replied on December 31, 2024

see my post below. remove all unused variables from the collection and try again. you'll need to do this in variable management. 

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

Sign in to reply to this post.