So I'm new to Ruby and this code that I am supposed to be changing is using f.check_box for check boxes. The point of the boxes are to enable or disable specific qualities of a calendar. The problem is that I need to add another item (and therefore checkbox) to the list of specifications. Getting the box there is no problem...checking whether it is checked or not and how to handle it has got me though.

I am trying to have it so that if the box is checked then a variable is set to true, and if not the variable remains false... I'm not sure how to do this. Could somebody explain to me how I check to see if it's checked and maybe a little bit on how I am supposed to do what I'm trying to do? Thanks for any help!

Nevermind I figured it out =)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.