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

Discussion

Discussion

Feature Request: Forms Table Reording

posted on December 18, 2018

Hello,

I've seen a lot of posts where people want/need the ability to sort or reorder the data in a Forms table. In some cases this can be done relatively easily with JavaScript that moves the data around, but in other cases it can be exceedingly difficult to accomplish.

In my current situation, I have a form that allows users to upload files with fields/inputs on each row of the table to be associated with the file. The ordering of the files is critical, and currently I have only 2 options.

  1. Add a field where the user can input the number value for the sequence.
  2. Force the user to upload files in order

 

I've looked into JavaScript methods for providing users the ability to reorder the rows, but the file upload complicates things. Because Forms assigns a lot of attribute/property values connected to the row index, there is not really an easy way to move things around manually.

What I would like to see in a future version of Forms is the ability to add sorting/ordering buttons to a table so Forms could handle this internally.

For example, Up/Down arrows to move individual rows, or sorting buttons on the table column headers so users could sort the data based on a column value.

I'd envision these as both being separate options for the table settings in the layout designer, perhaps with the column sort option being attached to column fields so users could allow sorting based on one or more of the columns.

6 0
replied on December 3, 2024 Show version history

I see this was not added as a feature for version 12, so I'd like to jump on the list as a requester of the above described functionality. Thanks 

0 0
replied on December 19, 2018

Thanks for the request, we have heard many similar requests including the one Blake linked. I've added this post to the group of requests regarding be able to search, sort, filter tables. 

There are also ways to use Javascript to customize your tables to allow this. Obviously it's not as convenient as an out-of-the-box solution, but it may work for you in the mean time. The JS table sorting works best for read-only tables where the user just needs to review tabular information. It wouldn't allow you to rearrange table rows on the forms backend side. 

3 0
replied on December 19, 2018

Thanks Jared, our current process would require the change in order to be carried over to the back end, which as you know complicates things exponentially because we have a file upload in the mix lol.

1 0
replied on October 2, 2023

Jared,

 We are in need to sorting read only tables. Can you please let me know to do this via Javascript? Thanks.

0 0
replied on December 18, 2018
4 0
replied on December 18, 2018

Similar request. I hadn't even thought about inserting before/after, I was thinking more about reordering the already existing rows.

I think both features would add valuable functionality to the tables/collections.

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

Sign in to reply to this post.