M
M
Monitorkin2017-04-11 14:08:09
Yii
Monitorkin, 2017-04-11 14:08:09

Validating data in a form loaded via AJAX?

When you click on a block on the site with Ajax, an html input form is loaded from the server, in which the user types something, for example:
<input type="text" id="edit-field" value="">
I also know what data should be in this form and would like to check them for validity.
What are the options in this case? Is it possible to use validation from yii?

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