Activate registration button when only agreement box cliked?

Hi all,

in my registration form i want to add a check box to mention about the
agreement licence.

at their if only the agreement box is checked the registration button
should activate.

pls any one ca help me how to do this in ROR.

Thanks
Nadeesha