Answer the question
In order to leave comments, you need to log in
How to add data before submitting ActiveForm on client?
Good afternoon, I'm sure the noob question is just awful, but I'm a little confused and don't understand how to do it.
In general, there is activeForm, and there is content that the user creates, js is generated.
This data is not form fields, it's just json objects, but I need to pass it along with the form on submit.
How to do it so as not to abandon activeForm ?
Answer the question
In order to leave comments, you need to log in
1) event beforeSubmit
2) as the js event occurs, immediately write to the hidden field in the form.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question