Home Forums Add-ons Repeater Field Invalid return value of update_sub_row function.


Invalid return value of update_sub_row function.

  • Hello,

    I’m having a little bit of an issue with the update_sub_row function.

    I have a repeater field called applications which has a sub repeater field of messages.

    I’m attempting to update the value of a sub field within a row in the messages repeater of an arbitrary row in applications.

    A sub field of the messages repeater is message and when executing the update_sub_row field with the following parameters:

    $attempt = update_sub_row(array('applications', <strong>n</strong>, 'messages'), 1, array('message' => 'Hello World!'), 1);

    $attempt returns true, but the value of message in the corresponding row is not updated.

    Thanks for any help.

Viewing 1 post (of 1 total)

The topic ‘Invalid return value of update_sub_row function.’ is closed to new replies.