Custom script for percentage linking to checkbox

Hi, How can we link the “percentage” field type to a “check box” field type?