Turn Single inputs into arrays

Hello, I have webhook form submission. There are multiple inputs of the same type of info e.g. name1 address1, name 2 address2 etc Screenshot 2024-08-20 at 14.09.37

[
    {
        "Name-1": "bob",
        "Adress-1": "bob lane",
        "Name-2": "tom",
        "Address-2": "tom lane",
        "Name-3": "brit",
        "Address-3": "brit lane"
    }
]

I would like this to be turned into arrays like:
Name
-1
-2
-3

Address
-1
-2
-3

Example screenshot of the array i want:
Screenshot 2024-08-20 at 14.12.00

Please does anyone know how to do this? thank you

1 Like

Hi @hb all you need to do is add the values into an array using add and emptyarray to start.

Let me know if this does the trick for you! Have a great one!

3 Likes

Thank you Mr.Make! worked great

2 Likes