On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • field1 and field2 are textfield, field3 is a checkboxes field:

    $hook->setValue('field2','John Doe');
    return true;

    It does not set checkboxes for field3.

    Also tried with:

    Anybody has managed to pass dynamic values to checkboxes?