G
G
Genri_Rus2021-06-23 19:11:52
JavaScript
Genri_Rus, 2021-06-23 19:11:52

How to group input names and display them separated by commas?

Here is an example

. I have 3 groups of fields: platform, status and cause, they have values ​​(input name) respectively.

So the problem is that how can I group these fields using join separated by commas at the very bottom?
60d35d033f396437004323.png

I tried using split('-') first, but my name inputs have more than 2 dashes.

Those. I need the output fields to be without the prefix: platform-, status- and cause-, and like this: opensea, makersplace, foundation, etc.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question