You can renumber line numbers in forms offering the following function in the
wizards (see renumbering lines). It is
required to set a new consecutive line number for all existing lines, otherwise
an error is returned:

Click
to close the window.
Solution:
Transfer all lines to the right panel where new consecutive line numbers
appear.