I working on a page where the user will see a table using datatables with a set of their data. They need to have the option to put their own numbering, could be just numbers or alphanumeric and the increment as well.
So it will have two inputs one for the starting number that could be anything they want like:
1, A01, 01, A01M and the list goes on. So the combinations could be endless.
And the list goes on, now the tricky bit is the increment. The user need to have the option to set the increment to be anything numeric and since it might have characters at the end which shouldn't change, the $n++ to increment alphanumeric string wont work here.
I've been googling around but the only ones I've found are for specific cases or to do the autoincrement using the ++.
Any help would be great.