P
P
Pavel2015-11-13 23:20:56
PHP
Pavel, 2015-11-13 23:20:56

Is there a ready-made solution (plugin/module) for creating a smart post-get form with ajax/php?

The point is this. You need to create a smart form for adding data to the database and reading from it.
Imagine the following situation:
There are offices. There are employees. It is necessary to tie employees to offices. Of course, you can take and write a bicycle. But writing it is difficult, because you still need protection from a fool. For example, a ban on adding duplicates. If you write a raw form, then fifty Ivanov Ivan Ivanovichs will appear, who are not namesakes at all, but simply a person who pressed the "Add" button 20 times. Or adding entries with a single letter misspelling. For autocomplete to fix it. I hope the point is clear. Thank you for your attention. Google googled, but did not come up with the right query.
If an employee is recorded in the database, then when you enter the first letters of the last name, a list (autocomplete) is loaded and the user adds the employee. If the autocomplete does not find the employee, the "Add employee" button immediately appears and optionally a couple of new inputs pop up to add information about the Employee (name, position, etc.).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrew, 2015-11-13
@R0dger

PHP + AJAX + JQUERY || ANGULAR well, head .. and you will be happy!
well, if you are afraid of namesakes, add a personnel number or department and position + indicate this when searching ...

V
Valery Serov, 2015-11-14
@DrBronson

No

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question