Home › Forums › Bug Reports › Group settings field not saving › Reply To: Group settings field not saving
Finaly i found the problem!!
omg how difficult it’s realised..
So, as u know i had hidden input in my output ( render_field ) and as i understood it’s errasing is value not changed, so my problem was that wen in js i do $hiden.val( newVal ) the ‘change’ event is not fiered and ACF js files don’t see my input change and do not update value..
So the solution was:
$hidden.val( newVal ).trigger( 'change' );
.trigger( ‘change’ )
( i’w been looking for that solution for few days, could be btter expaned in documentatoion how to make own custom fields )
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.