• Resolved Rakesh Raja

    (@rakeshraja)


    Hi

    I have created a custom call me back widget.. Following is code..

    https://pastebin.com/TTz85mFU

    Actually check box is working… but checked status is not updating and staying there for example if I click on it means If I checked.. its not staying checked..

    Update code seems fine.. can you guys check and let me know..

    Regards

Viewing 1 replies (of 1 total)
  • Thread Starter Rakesh Raja

    (@rakeshraja)

    here is the solution.. the code I used was valid till 2.8.. in latest version.. I need to use “on” instead of “true”.. like

    checked( $instance['show_sex'], true ) doesnt work but i need to use

    $instance['show_sex'], 'on' )

Viewing 1 replies (of 1 total)
  • The topic ‘Custom widget – checkbox not working partially’ is closed to new replies.