So apparently we can’t use getField with the field name, so instead I try:
var f = acf.findFields({name:'custom_price'});
f.val('some val'); // doesn't work
f.each(function(i,a) {
a.val('some val'); // doesn't work, a is not a jquery object
});
f[0].val('some val'); // doesn't work, f[0] is not a jquery object
So before I post some of the more complex code I’m using, why does this simple update of a field value not work with the ACF Javascript API?