Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [checkbox]

Checkboxes are clickable and actionable component in VisualForce

0
votes
1answer
52 views

Implement three state checkbox using LWC

I am trying to implement a tri-state checkbox using LWC input type=checkbox element and I am trying to set HTML 5 indeterminate attribute https://html.spec.whatwg.org/multipage/input.html#checkbox-...
1
vote
1answer
30 views

How do I change the fill color of the lightning checkbox-toggle? [closed]

The fill color of the https://www.lightningdesignsystem.com/components/checkbox-toggle/ toggle in the off position should not be grey. In UI design, greyed out means the toggle itself is disabled and ...
0
votes
0answers
17 views

Checkbox field is not working in SF1 for ios and Android

I have open loged in in SF1 ios device. I am able to see the checkbox custom field lable, but not able to see the box icox next to the lable. Does anyone know what is the issue?
2
votes
0answers
13 views

Content Overflow with <lightning:checkboxGroup>

I want my lightning:checkboxGroup to overflow into two columns in my fixed width and height box. I believe the best way to do this is to edit the css but I am not sure if this is possible with the ...
0
votes
1answer
49 views

<aura:iteration> and input or <lightning:checkboxGroup>

I have a custom object Topics__c that I want list out like so: The text is the topic name which is a String data type. So I have to add in a checkbox along side the Name field. I have been doing some ...
0
votes
1answer
15 views

Dynamically create checkbox and store value in a record field

I am trying to dynamically create a checkbox component and then store its value in a record's field. I have a standard checkbox component that works. I can't figure out how to dynamically create the ...
0
votes
1answer
208 views

How to get unchecked row/checkbox value in lightning:datatable

I am using <lightning:datatable onrowselection="{!c.onSelectContact}" /> for displaying contacts and to check and uncheck checkbox fields. Then in the component controller i use event.getParam(...
2
votes
2answers
64 views

Multiple Checkboxes in Formula Field

I'm sorry if the title is completely butchering what I'm looking for, please let me know if should be updated. Here's what I'm struggling with: I have 11 checkboxes on an opp layout. I need the ...
0
votes
1answer
52 views

Having trouble retrieving a checkbox value with SOAP API in c#

This is the first issue I have ran into retrieving data from Salesforce using the SOAP AP. So I have introduced a custom field which is a checkbox, (lets call it Checked) and I have added it to the ...
0
votes
1answer
214 views

Visualforce: Pass checked checkbox items to Apex list?

I have a table with one of the columns being a checkbox. I want to be able to pass all the checked items values into a list in another apex controller. VFP <apex:repeat value="{!data}" var="...
0
votes
1answer
27 views

Need Help with a custom Setting

i have a custom setting with a field type "checkbox" set to true but if i try to query it on a class it's allways returning false, i don't know why. Email_Engine__c ee = Email_Engine__c.getInstance();...
1
vote
1answer
8 views

Filter results in a Lookup Filter Field's search results

Custom Contact Field "Active" = Data type Checkbox. "Active" is filterable in Contact Search Layouts. If "Active" which is only a checkbox, & is a filter option in the Case>Contact Name>Lookup, ...
0
votes
2answers
120 views

How to validate checkbox as checked only on specific page layout and without record type?

I wonder how I can accomplish that checkbox field will be reuqired on specific page layout. As I know checkbox fields can't be simply marked as required on page layout level. Is it possible to ...
0
votes
1answer
682 views

Hide checkbox column and color some rows of lightning-datatable [duplicate]

I have data of customers and their numbers. I want to show it in dataTable. Additionally, I am trying to color those rows whose numbers are invalid and also disable the checkbox for that row. I have ...
0
votes
1answer
195 views

jQuery DataTables Checkboxes in Visualforce Page

I am trying to manipulate multiple row selections using jQuery DataTables checkboxes plugin.But having issues in getting selected rows from page to controller ...getting c.selected = false in ...
1
vote
2answers
50 views

Javascript button to set checkbox true if conditions are met

I keep getting 'unexpected token ==' when the button is clicked. I have been through the code and everything looks right to me. Can anyone see why? All field names are correct. {!REQUIRESCRIPT("/soap/...
3
votes
1answer
1k views

lightning checkbox is not working

I have two checkboxes in a lightning component, when we click on the first checkbox it marks true to the other checkbox, it works well only with the UI tags but doesn't work when I convert it to ...
0
votes
2answers
157 views

How to fix checkbox in lightning:recordForm?

I have a problem with checkboxes when using lightning:recordForm. My code: <lightning:recordForm objectApiName="Opportunity" recordId="{!v.recordId}" mode="view" ...
1
vote
1answer
25 views

Field Label change is not reflecting on Contact object

I have a checkbox field on the contact object that should be reading ‘Email Opt Out’. However, this is still what the field looks like on the actual contact page. The Field Name “...
1
vote
1answer
537 views

How to populate a <lightning:CheckboxGroup with a Multi Select Picklist field

How do I populate a <lightning:CheckboxGroup with a multi select picklist field? The <lightning:CheckboxGroup takes a string[] And the mulit select picklist field returns a string apple;...
0
votes
1answer
47 views

Show selected row in alert

I have to show the selected row in an alert. Can someone please help me? Below is the page code snippet. <tbody> <apex:repeat value="{!contactList}" var="contact" id="loop"> ...
0
votes
2answers
507 views

CSS required to make lightning:checkboxGroup items display horizontally

What CSS would be required to make the items in a lightning:checkboxGroup display horizontally rather than the default of vertical?
5
votes
1answer
1k views

Summer '18 Lightning checkbox values

I have noticed an issue with lightning checkboxes in Summer 18. When the user manually changes a checkbox, the v.value and v.checked attributes of the component are set to an empty string, instead of ...
0
votes
1answer
771 views

Lightning CheckboxGroup

How to clear the Lightning checkbox group? I tried to clear it using the empty array. But the value gets set to the attribute however, on the UI the checkbox is still checked. Option 1 - ...
3
votes
1answer
442 views

How to rename 'Checkbox' column in lightning 'datatable' component?

Description: Lightning datatable component allows to place checkboxes within the rows. Checkbox column on top contains a select all checkbox by default. Question: Would it be possible to put a ...
3
votes
1answer
62 views

Approval Process for over 1500 records

I am trying to write a VF page-controller for an approval process which should submit over 1500 records at the same time. The approval is 2 stage.. after initial submission, it should be approved by ...
1
vote
2answers
627 views

Identify User that Last Modified Specific Field by using apex

I have a custom checkbox field. I need to know how to identify the last user that changed the custom checkbox field by using an apex code. Is it possible? If so, how?
1
vote
1answer
24 views

Control 3 elements with different ids with a single checkbox in visualforce page

I have a visualforce page wherein I have to control two input boxes and one picklist field with a single checkbox. The idea is that input boxes must be both disabled when checkbox is selected, while ...
0
votes
2answers
227 views

Checkboxes Don't Align on Visualforce page

Checkboxes Don't Align I have two groups of vertical checkboxes on a Visualforce page and the top one in both columns is about two spaces to the left of the others. What is the best way to format the ...
0
votes
1answer
70 views

is it possible to replace ui:inputCheckbox with an image trough css

Is it possible to replace ui:inputCheckbox with an image trough css. I have searched but could not find any answer. I currently have a checkbox which passes 2 values trough text and name to my ...
1
vote
3answers
4k views

How to display a checkbox field using ligntning:datatable?

I'm trying to display a check box field using lightning:datatable component. Here is the component markup. <aura:component> <aura:attribute name="invoices" type="Invoice__c[]"/> <aura:...
0
votes
1answer
262 views

Calculate and Output a checkbox in Visualforce

Currently, I'm using apex:inputCheckbox and feeding it a boolean value from the controller with a dedicated variable since the Value attribute in the apex:inputCheckbox cannot have a formula ...
0
votes
2answers
524 views

Simple actionsupport not working with inputCheckBox

There are only two fields in my page, one conditionally rendering the other. Everything works as expected (checkbox toggles the display of the date field) if I set the Boolean value to true from my ...
2
votes
1answer
592 views

Dynamic checkbox only eveluates to true

I have a dynamic checkbox generated trough an iterator.I want to be able to get the true and false values from the current state of the checkbox. When ik check or uncheck my checkbox is always ...
1
vote
1answer
209 views

Checkboxes not working with javascript function

I am trying to make a dynamic filter on accounts. What I want to achieve is to show only the records where the checkboxes are true. The issue I have is that my function is not working based on a ...
1
vote
2answers
2k views

Lightning:Checkboxgroup select only one option

How do I select only one entry from a lightning:checkboxgroup, meaning, I can do an either - or, but not select two options at once? I have two checkboxes in my group, and v.value gives the order ...
0
votes
1answer
46 views

Community Page Variation Based on Contact Record Field

I would like to make a Community page variation be visible based on the status of a checkbox on users' contact records. Is this possible? Thank you.
1
vote
1answer
2k views

Styling lightning:outputField checkbox

I am using lightning:recordViewForm to display case data; And inside the lightning:recordViewForm, i use lightning:outputField to display fields data, like this: <lightning:recordViewForm ...
0
votes
1answer
271 views

Get array value checkbox

I want get all value of checkbox is checked. I trying but it not working. <aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:...
1
vote
1answer
217 views

lightning checkboxgroup get last value

I want get last value in checkboxgroup. I try using cmp.find("mygroup").get("v.value") but it get all value.
1
vote
1answer
484 views

Input type Checkbox attribute Checked is not set on load in ampscript

I have a checkbox in the page. It should be checked if the original value is True. I'm trying to implement ampscript for this, but it fails. Even it doeesn't show in the Preview. I debugged, the ...
0
votes
1answer
222 views

Checkbox formula comparing fields on two objects

I want to create a checkbox formula on a child object that checks if a field matches a field on the parent object. The relationship between the two is lookup. I've tried Name = Account....
0
votes
0answers
48 views

Checkbox formula field based on User login status?

Can we have a checkbox that gets checked whenever a user logs-in and uncheck immediately after logout? Use case I am trying to solve: There are 12 Super users who will be accessing/maintaining the ...
0
votes
1answer
248 views

Checkbox Button Group - Checked Option

I am facing problems trying to make a reusable component on React of the CheckBox-Button-Group (https://www.lightningdesignsystem.com/components/checkbox-button-group/). The component is rendering ...
0
votes
1answer
24 views

How do I change the default on opportunity Notes and Attachments to be NOT private?

opportunity notes and attachments are always set to private by default but Users wanted it be made public by default.
0
votes
1answer
488 views

Rerender on inputfield checkbox

I want to display some fields if user checks the checkbox. I am trying using actionsupport but it does not see to work. Please provide some help on how to do that. <apex:pageBlockSection id="...
0
votes
1answer
256 views

Get checkbox value in multi select picklist

I have a few checkboxes displayed on a page which need to be saved to the server as a multi-select picklist. How do I do this? The checkboxes value is set to true or false. But the picklist has ...
0
votes
1answer
282 views

Checkbox Marked True based on value of variable

I have a visualforce page and want a checkbox to be filled in if a variable is not null, but the only way I can find to default a check box is by using the attribute checked which seems to only mark ...
0
votes
2answers
742 views

How do I change the color of my check mark in a ui:inputcheckbox?

I am trying to set the color of my check mark. This is the code: <div class="slds-form-element__row"> <div class="slds-form-element"> <label class="slds-checkbox"> ...
0
votes
1answer
373 views

How do I change the background of a checked ui:inputcheckbox?

I am trying to set the background of my checked checkbox. This is the code: <div class="slds-form-element__row"> <div class="slds-form-element"> <label class="slds-...