Make a table/index to autofill and save specific info? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Make a table/index to autofill and save specific info?

Whats the best code or source i should use if i wanted to make a table similar to this: | Name | Function | Source | Reason | ————— —————- ————— —————— Input-a Input-b Input-c Input-d Input-a Input-b Input-c Input-d Where i can easily type ‘xxxx-a’ or ‘xxxx-c” so that my input goes under the correct category, but instead of overwriting the previous info, it creates a new line in the table? It doesnt matter if the value needs to be put in the code page or the final page, so long as it can be saved. Basically, i’m wanting to build an organized table with hundreds of added inputs, but ive only done html so far, and it would be incredibly tedious to keep using the <tr><td> functions. I dont expect anybody to straight up write the code for me, but if you could point me towards the correct coding language to use, it would be much appreciated.

30th Sep 2020, 5:31 AM
Sasquatch6ft40
6 Answers
+ 3
Ok good luck 👍 Post a new thread when the code is ready, or even half-way ready, let the community see it, so they can help you make it ...
30th Sep 2020, 6:15 AM
Ipang
+ 2
So ... an editable table which automatically adds a new row consisting the edited current row content? is that the goal? if so, I guess you'd need Javascript to add the new row. But it's kinda complex, you'd also need to capture an event where the column edit is complete, upon which you decide whether to add new row or cancel e.g. if the column content doesn't change after editing.
30th Sep 2020, 5:47 AM
Ipang
+ 2
Well, at least we both now know this ain't easy LOL
30th Sep 2020, 6:25 AM
Ipang
+ 1
ok.. ill start with the javascript part. it may be complex, but its still gotta be less input overall, and i got the app to learn anyway. thanks
30th Sep 2020, 6:12 AM
Sasquatch6ft40
+ 1
will do! i had started making one in HTML and literally gave up after the 2nd entry. haha
30th Sep 2020, 6:20 AM
Sasquatch6ft40
0
or wait, that might work i suppose, if it saved the previous row. but i wanted to save an archive. so input-1 would just be something i assigned to make a new row in each column, so i could type, say: nathan-i1 stewart-i1 jonathan-i1 and the table, in the “names” column, would display: names nathan stewart jonathan. i’m sure i’d need an extra variable beside i1, but thats the main idea
30th Sep 2020, 6:15 AM
Sasquatch6ft40