Expand my Community achievements bar.

objects masquerading as different objects

Avatar

Level 4

1. I am trying to get a field (specifically a text field) to be "readOnly" in effect, but to allow the user to click on it, or mouse over it.

2. In a checkbox object, is it possible to get the actual checkbox to disappear and only leave the caption?  What about changing the color of the check? (for example, a default of white instead of the usual grey).

Any ideas of how to go about this?

3 Replies

Avatar

Level 7

For the first question, you can make a field read-only by changing its 'access'. So in formcalc it would be:

$.access = "readOnly"

Avatar

Level 4

I've been changing "access" using JS: this.access = "readOnly";

But then there can be no mouseEnter or mouseExit effects.