I've got a form with some conditional fields. The conditions are set by JavaScript (jQuery) modifying the value of a hidden field. e.g. I do:
jQuery('#input_1_24').attr('value', 'yes');
However, setting this value doesn't seem to trigger the conditions being updated.
Is there some JavaScript event that I need to fire, or function I need to call to get the conditions to be re-evaluated?