I've updated to the CVS version (thanks!) and now the T&C is displayed properly and allows users to accept the new T&C. However, there is still a problem. If the user has already accepted the T&C, it's displayed and the checkbox is checked and disabled. This means you can't uncheck it. However, I think that some browsers make the checkbox return false when it's disabled because I can no longer change my profile, it tells me I have to accept the T&C.
I fixed it by commenting out line 95. This means the checkbox never disables, but it seems to work fine.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | legal.patch | 463 bytes | km |
Comments
Comment #1
robert castelo commentedThat's by design - we don't want users to un-accept T&C.
Which browser did you have this problem on?
Comment #2
binford2k commentedMozilla 1.7.5
Comment #3
km commented... and Safari 1.2.4
Comment #4
km commentedform_checkbox() sets a hidden value of zero. See the attached patch to add a hidden value of 1.
Comment #5
robert castelo commentedFixed in latest version (legal.module 1.7)
If T&C have already been accepted legal.module doesn't try to validate or enter data to database.
Comment #6
robert castelo commented