I want to know how to enlarge a custom field checkbox. Its located on task page layout and I want to know where can I find the code to make the change, and what will bethe variable where I will make the change. Any help would be helpful.
Thanks!
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityI can think of a pretty hacky way to do it.
Using this answer, I'd:
lkid_XXXXXXXXXXX
id - (if a standard field, it'll have a nice readable id like reminder_set_checked
.--
element.style['-ms-transform'] = 'scale(2)';
element.style['-moz-transform'] = 'scale(2)';
element.style['-webkit-transform'] = 'scale(2)';
element.style['-o-transform'] = 'scale(2)';
element.style['padding'] = '10px';
Profit!!!
NOTE - name the button something descriptive like "Javascript Injector For Task Layout" so that people aren't scratching their heads about why the button is bigger.
Since you have mentioned task page layout, I am assuming that it is not a visualforce page. In that case you cannot enlarge checkbox using css. To be able to apply any custom style to components, it should be in a visualforce page.