A
A
Artem2020-04-09 13:54:03
WordPress
Artem, 2020-04-09 13:54:03

How to create an interactive spreadsheet for everyone?

Comrades, is there a plugin that can create a table of the following type and functionality.
A list of 6 squads of 6 fighters and users can themselves by clicking on a free cell to sign up under the selected squad. And as a result, a list of departments will be created by the users themselves.
Or just stupidly the SIGN UP button and it gets into the table

Answer the question

In order to leave comments, you need to log in

3 answer(s)
L
Legal Adviser, 2019-10-11
@Legal2019

Thank you all for your participation.
The fool himself))
The only template was in the folder 'template-parts/content-page-***', and all the rest - 'template-parts/content/content-page-***'
... and for two days I racked my brain over why nothing plows)))))
PS "sometimes you need to rest)))"

M
mahmudchon, 2019-10-10
@mahmudchon

I think there should be elseif , because there is a condition.

O
Orkhan Hasanli, 2020-04-09
@azerphoenix

Hello!
Just saw this question last week. It is possible that you asked it ...
You will not find a ready-made plugin, but you can write a solution yourself, if you know how to code, of course.
It can be implemented in different ways.
Here, one of the implementation options -
- Create the most common table.
- Using JS, add a trigger to click on the cell.
- By clicking on the cell, display a modal window with the form. In the form as a hidden field, pass the id of the cell on which the click was made.
- In the modal also add a couple of extra. fields - full name, for example.
- By clicking the "Submit" button, the form is sent to the server.
- On the server side, you need to create a custom record type.
- When the form is submitted, in fact a new entry is created in the admin panel with the data of the user who filled out the form.
- On the client, also using JS, check and disable the click (trigger) on the cells that have been filled
- To implement the form, you can use acf_form, for custom fields also ACF.
A similar implementation example is https://vogue.telegram.by/shahmatka-5a
Here, a more advanced level of solving the issue -
There is such a js lib as DataTables.
https://datatables.net/
Separately, an editor (paid and free) is supplied with it -
https://editor.datatables.net/
Completely free analogue of the editor -
https://github.com/KasperOlesen/DataTable-AltEditor
You also need to connect the add-on https://datatables.net/extensions/buttons/
So you can add buttons.
By clicking on the button, you also display a modal with fields. Also, after submitting the form, create a post (custom post type).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question