Questions tagged [inputcheckboxes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
30 views

How do I uncheck the checkbox

I need to uncheck the checkbox on click of a button, but I'm using the checkbox inside the aura:iteration and on using aura:id I'm getting the value as undefined. My Actual Scenario is like there are ...
0
votes
1answer
31 views

Conditionally set checkbox Values on Visualforce page

I am looking to pre-fill/pre-populate a checkbox on my Visualforce page based on a specific picklist condition being met. In this example, I would like the "ClearingHouse__c" checkbox to be ...
0
votes
2answers
108 views

salesforce Lightning : <input type=“checkbox”> not taking the value, throwing undefined value

I'm trying to replace Ui components with other components. Here i'm using lightning components if I requirement is satisfied or else I'm looking for other solutions. In this componet I have to replace ...
0
votes
1answer
116 views

Use Checkbox-Group to update multiple records?

I'm trying to figure out flows work with multi-select checkboxes. At this point I can only select 1 id from the list, despite the flow debug logs showing that I have selected 2. I'm aware of the ...
0
votes
1answer
106 views

Checkbox selection uisng Wrapper is not passed to controller

This might have been posted several times but i'm unable to workaround this issue using apex & I also looked at all the existing questions similar to this. I have a list of Opps with checkboxes in ...
0
votes
1answer
32 views

Checkboxes generated using aura:iteration is not clickable

I am trying to generate list of check boxes using the aura:iteration and list of checkboxes are getting displayed. But only the first checkbox is clickable and rest of the checkboxes i am not able to ...
1
vote
1answer
78 views

Hide label on ui:inputCheckbox?

I would like to hide the checkbox label. Is that possible? ui:inputCheckbox", { "value" : component.getReference("v.EventRSVP."+ fieldAPIName), ...
0
votes
1answer
67 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
35 views

Visual Force: Checking boxes individually triggers OnChange, but my CheckAllboxes page component does not

I have a table of items. Each item can be selected or checked with a checkbox, and an OnChange is triggered to pass its ID to Apex for a query that will quote the selected items. This works all fine ...
-1
votes
1answer
51 views

Update Checkbox in Obj A, if its relevant record(from Lookup) got Selected in Obj B

I have Two Custom Objects , Obj A and Obj B, My requirement is i have to update checkbox true in Obj A once its relevant record(Lookup) got selected in Obj B. Please suggest the solution and let me ...
0
votes
1answer
1k views

get value of apex:inputCheckbox in jQuery

I am trying to use a apex:inputCheckbox and pass the value (if it is checked) to a JS function. I have tried everything from onClick, toggling, event listeners, .checked, this question , and pretty ...
3
votes
1answer
281 views

lightning:checkboxGroup - set checkbox indeterminate = true

I'm using lightning:checkboxGroup and I'm trying to set the state one of the individual checkboxes as indeterminate. I tried the following JS: component.find("my-chbxgroup").getElement()....
0
votes
1answer
248 views

Asset checkbox not eveluating to true in testclass

I have a checkbox on asset which should turn true by the following formula: IF( ISPICKVAL( Product2.Bedrijf__c , ""D S" ) && Eind_datum__c >= TODAY() || ISPICKVAL( Product_2__r....
0
votes
0answers
542 views

Check multiple checkboxes in VF page on condition

Scenario: VF page is having two column:checkbox and fee name. Second column is coming from object 'Fee' which is child of 'App' object. An 'App' record can have multiple fees associated to it.Below ...
0
votes
0answers
100 views

Stop a checkbox from changing value on click unless value is changed

I have a ui:inputCheckbox: <ui:inputCheckbox value="{!v.bool}" change="{!c.toggle}" /> Even if I remove the change attribute, when I click on the checkbox (note: it's a toggle, not sure if ...
0
votes
1answer
2k views

Bind checkbox value with controller boolean variable

I have checkboxes on my vf page <apex:inputCheckbox id="checkboxShowP" value="{!P}" onchange="show(this);"/> In the controller class public boolean P{get;set;} I want to bind this checkbox ...
1
vote
0answers
164 views

How do I pass the information from the apex:inputCheckbox to the controller using SLDS?

I have a VF page where you select some states. This is working but wanted to make the checkboxes using SLDS Here is my controller code snippet: public string superawesome; public String[] ...
1
vote
1answer
3k views

how to change color of checkbox in lightning [closed]

I would like change color into green. How to change color because default is blue. I tried this <ui:inputCheckbox change="{!c.Checked}" />
0
votes
1answer
3k views

Setting a ui:inputCheckbox to be checked in javascript

I have a requirement to only allow system administrators to uncheck a checkbox on a custom lightning component. I've included example code below that replicates some of the behaviour but I cannot ...
0
votes
1answer
4k views

How to get the value of the selected checkbox in visualforce page and pass it to controller

I have a requirement where i have to pass the value of the selected check boxes to controller method. i need to send the combination of values, i.e Auditoriums and Carpet to my controller. Can you ...
1
vote
1answer
544 views

inputcheckbox not showing in visualforce page

I have this visualforce page where I show several fields as inputfield and picklist which are working fine. I cannot get the inputcheckbox showing up in my visualforce page am I missing something see ...
0
votes
1answer
414 views

How to pass list of email ids to next VF page

VF Page <apex:page standardController="Professional__c" extensions="sendemail" recordSetVar="Plist"> <apex:pageMessages > </apex:pageMessages> <apex:form id="frm" target="...
0
votes
1answer
473 views

How can I locate a ui:inputCheckbox?

hopefully this will be an easy one. I'm iterating through a list to populate a table, and I want to have checkboxes on the table too. I also want to be able to locate the previously chosen checkbox ...
0
votes
0answers
31 views

Weird encounter with a List

I'm at a loss. I'm updating a List via checkbox/actionsupport method and it's saving one variable but not the other. (screenshot). Here's code: public class aAccount { public Account act ...
0
votes
1answer
309 views

How to pass record id to another component while click on checkbox in aura iteration

I am facing one issue with navigating to record from another component when user selected checkbox in one component and I will get those selected Id in next component.
2
votes
1answer
499 views

Salesforce Lightning make checkbox checked using jQuery

I am wanting to iterate over two arrays, and I want to set checkboxes to checked whenever items in the array match. I have no problem with the iteration, and I can change the checkbox with the name ...
1
vote
3answers
25k views

How do I read the value from an input checkbox?

I am not managing to read out the value of a checkbox in my lightning component. Please find my code below: lightning component: < label class="slds-checkbox"> < input type="...
0
votes
4answers
1k views

How do I read out the value of my checkbox?

I can't figure out how to read out the value from a checkbox. See my code below. Is there someone who can give me some tips?
1
vote
2answers
697 views

Using Ampscript to pre-fill form, check box

I have a preference center and trying to prefil preference. Here is my code: SET @SubscriberKey = "smithandthunder+1320@gmail.comJohn" SET @Exposed = Lookup("MasterSubscriberDE","Pref_Exposed","...
0
votes
1answer
2k views

How to style a checkbox in a Visualforce page using Lightning Design System?

Preferably without using JavaScript. This is my code using the SLDS, but the field value doesn't change or get set. <div class="slds-form-element"> <div class="slds-form-...
0
votes
1answer
100 views

checkbox checked but row will not showing in Edit Mode(actionFunction not working)

ActionFuntion not working what i miss can you please tell class code: public class EditContact_controller{ public List<wrapperClass> wrapClassList{get;set;} public List<contact> ...
0
votes
2answers
2k views

show checkbox before every contact using wrapper class

I'm trying to fetch the contact record and showing on page using its showing error Unknown property EditContact_controller.wrapperClass.conList Which thing is unknown. here is my controller ...
0
votes
1answer
296 views

Visualforce Checkbox Rerender via Ajax - Whats wrong with my code?

I want to disable the pageblock section when the checkbox is checked,enable it when the check box is unchecked. I had tried with rerender but it is not working as expected. Note:The checkbox is ...
1
vote
1answer
765 views

How to render a checkbox with negated boolean value from model

I'm trying to render a readonly checkbox with a negated boolean value from my model. Salesforce won't let you do this: <apex:inputCheckbox disabled='true' value='{! !model.myBoolean}' /> i ...
2
votes
0answers
2k views

ui:inputCheckbox and aura:iteration: value binding

I am currently writing a lightning component made of a table of elements that can be selected (or not) using a ui:inputCheckbox. So the way I do is fetching the data from APEX controller during the ...
0
votes
2answers
780 views

Rerendering a table row for each selected javascript checkbox

I am trying to display an empty table row (for Object2__c) each time I select a row (for Object1__c) using a javascript checkbox. There's no error but nothing happens every time I tick a checkbox ...
0
votes
2answers
4k views

Hide/Show Button On VisualForce Page

I am trying to show/hide a submit button on my VF page based on a checkbox but its not rendering. Here's what I have already tried: On the controller I have defined the boolean condition as shown ...
1
vote
2answers
1k views

How to disable checkboxes when when more than 6 checkboxes are selected?

Once the user selects 6 checkboxes I want all the other checkboxes to be disabled.How to do it?I tried adding a boolean variable for disabled attribute,It accepts exact 6.But it also disables all the ...
5
votes
1answer
6k views

apex:inputcheckbox “selected” attribute not working inside repeat tag

The "selected" attribute can be used to define if a checkbox should be checked by default when it is displayed on a Visualforce Page. This works correctly when defined in a simple single apex:...
3
votes
2answers
2k views

Visualforce: Checkbox is not firing function onclick

I've tried everything I can think of to get this checkbox to work. This code is just supposed to trigger a function when a checkbox is checked. It currently does not trigger the alert, it only "...
1
vote
3answers
2k views

toggle inputCheckbox in Component

My requirement is to check/uncheck a inputcheckbox as and when i press a button. it works fine for the first time. however, after that no matter how many times i click the button, the checkbox doesnt ...
2
votes
1answer
914 views

inputcheckbox behavior with select option actionfunctions clarification

After looking at a LOT of posts, I've concluded that I'm confused on exactly how input checkboxes behave. I've created a custom wrapper class around a select option that looks like list<string ...
1
vote
3answers
1k views

To render a button based on a apex:inputcheckbox field

I have the following piece of code within a javascript popup <apex:column headerValue="Select"> <apex:inputcheckbox value="{!auth.IsSelected__c}" id="selectrecord"/> </apex:...
3
votes
0answers
2k views

apex:repeat - select all check boxes

I have used <apex:repeat> tag to display records in table using paging. In which I have used <apex:selectCheckboxes> to select the checkbox for that particular record . What should I do to ...
0
votes
1answer
2k views

Error: <apex:column> must be the direct child of either <apex:dataTable> or <apex:pageBlockTable>

i want to show checkbox before every contact in data table <apex:page controller="ContactCheckEditController"> <apex:form> <apex:pageBlock title="Contact" tabStyle="contact"...
0
votes
1answer
3k views

pass html input checkbox to controller

i try to get the value from <input type="checkbox">and pass it to my variable on controller but i always get 'Argument cannot be null'. i already try using inputHidden to <select> tag and &...
2
votes
1answer
416 views

Entity is not API accessible Error

I've been trying to create a wrapper class for either SelectOptions and/or input checkboxes combined with pseudo Id's for both the checkbox and a Description text area input field to send to a ...
1
vote
1answer
3k views

Disable all other checkboxes when one checkbox is selected in pageblocktable

I got a pageblock table displays some values each records in the table has a checkbox to select. I want to disable all other checkboxes when one is selected. (My pageblocktable returns values ...
0
votes
1answer
3k views

Select Records in pageblocktable using a checkbox

I got a similar page similar to the following link which is a search function uses paginator using Standardset controller, and I want to make the search records selectable using a checkbox in front of ...
0
votes
0answers
3k views

ISCLONE() and Workflow Rules against CLONED records

I am trying to create some business logic that resets a cloned Opportunity check-box field to FALSE if that Opportunity record is cloned (our sales team will clone opportunities with the same accounts ...