M
M
missbu2020-05-25 15:56:02
WordPress
missbu, 2020-05-25 15:56:02

How to create contact forms and work with them on wordpress?

Good day!
The essence of the problem is as follows: It is
necessary to create a form for the student in which he could enter a question and answer options, choose the right one. All this is stored in the database. Is it correct to do this through a feedback form, like CF7?
Further, the teacher through a similar form should be given the opportunity to view the questions uploaded by the student, edit and delete them. I can’t understand how this can be implemented so that the teacher has access not from the admin panel
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2020-05-25
@missbu

Hello!
CF7 in context is not the best solution.

It is necessary to create a form for the student in which he could enter a question and answer options, choose the correct one

Look towards custom fields.
Plugin - ACF (or better ACF Pro)
use acf form to create a form
https://www.advancedcustomfields.com/resources/acf...
https://www.advancedcustomfields.com/resources/cre...
Further, the teacher through a similar form should be given the opportunity to view the questions uploaded by the student,

After the form sambit in the backend, you process the request and create a CPT
. Accordingly, you need a custom post type.
https://wp-kama.ru/function/register_post_type
If you need to create categories (headings), register a taxonomy
https://wp-kama.ru/function/register_taxonomy
I can’t understand how this can be implemented so that the teacher has access not from the admin panel

For example, install the WP Recall plugin (personal account). There, display the necessary records that are filled in by the student. Each teacher has access to the LC and can view the data.
It may be that there are some other ready-made plugins or CMS, but I have not met.
And if the budget allows and if the project is serious, then look towards frameworks and write a similar site from scratch. For example, in Yii2, if you write in PHP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question