Jump to content

killedfriendz

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by killedfriendz

  1. I am very sorry for asking this but i totally do not understand how to set values of checbox using API. 
    I have checbox field on my page with name "order_status". 
    So i've tried few ways to make it checked but it still doesn't work:
     

    $userPage->order_status->value = 1;
    $userPage->order_status->add(1);
    $userPage->order_status->add(true);

    Could you please tell me how to do it?

×
×
  • Create New...