Skip to main content
kandices70514105
Known Participant
February 6, 2019
Question

Sorting filled data

  • February 6, 2019
  • 3 replies
  • 543 views

I have a fillable pdf that works as a to-do list.  I take items off and add to it daily.  Is there a way that when I remove a completed task, all the task below it move up?  If so how would I do that?  Any suggestions.

This topic has been closed for replies.

3 replies

Legend
May 2, 2019

That sounds a much better plan than mine. Amounts to the same thing, but the data lives in an array instead of a bunch of fields.

try67
Community Expert
Community Expert
May 2, 2019

I would enter all the data into an array, sort the array, then clear all the data from the fields and re-write it to them from the (sorted) array.

AkanchhaS8194121
Legend
May 2, 2019

Hey Jonathank,

We are sorry for the delay in response to query.

I have a fillable pdf that works as a to-do list.  I take items off and add to it daily.  Is there a way that when I remove a completed task, all the task below it move up? 

Sorting already filled data automatically, this is something which isn't achievable by applying some form field settings. What you are looking for might be possible to do with some JavaScript. Our experts in JavaScript​ may would have some suggestion for it.

[Moving thread to JavaScript​ space]

Thanks,

Akanchha

Legend
May 2, 2019

What you have to do is move each field contents to another field. Repeat in turn, moving upwards, then blank the last one. There is no magic, it's hard work.