DukeLeto7 i'm creating a (hidden and disabled) numeric input field for each checkbox storing the exact order of them, the one without checkbox selected are put at "last step number +1" so i have a permanent html field i can read with pure js code.
and this is working right, my problem is the feature i want implement, the action to de-select the non-last action and all the successive checked action shoudl be rescaled one step before for closing the gap
exmple <A:1,B:2,C:3,D:4,E:5> uncheck "C" <A:1,B:2,D:3,E:4 - uncecked C to 5>
this is proving exceptional hard to make.
after that it's easy build an array with the action put in the correct order. after that using the this array for the actual calculation will arise some problem, but first come first, i need to make the rescaling working.