Form script

I am wondering if someone could help me with some scripting, I can’t seem to get the proper script to get a checkbox working for a form. Would someone be able to help a sec.