Questions tagged [inputcheckboxes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
19 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
36 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
33 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 ...
0
votes
1answer
506 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="...
-1
votes
1answer
42 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
854 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
220 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
171 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
388 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
87 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
136 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
3k 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
447 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
294 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
386 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
260 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
459 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
18k 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
3answers
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
584 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
90 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
1k 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
253 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
591 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
673 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
3k 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
885 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
5k 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
1k 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
800 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
930 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
1k 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 &...
0
votes
1answer
359 views

Uncaught ReferenceError onclick of checkbox

I'm calling javascript method from apex:inputcheckbox but facing an error: Uncaught ReferenceError: disableChebox is not defined Please help me, as I'm not able to understand why I receive this ...
2
votes
1answer
394 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
2k 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 ...
1
vote
3answers
265 views

getting error Unknown property 'Multipicklist.getPicklistValues' for VF page

I have one controller and one VF page.I am getting error saying "Unknown property 'Multipicklist.getPicklistValues'" for VF page.Dont know why it is. Controller: global class Multipicklist { ...
1
vote
1answer
687 views

set a field read-only when checkbox enabled

I've created a VF page and got a input text field referring a campaign field and a checkbox which is not referenced to any object field. So I need help on writing js to disable and enabled the text ...
1
vote
1answer
5k views

How do I make a SLDS checkbox default to appear checked?

I've built a Salesforce Lightning Design System page with some checkboxes on it. The way SLDS implements checkboxes looks really odd to me. I'd like to make one of those checkboxes to appear checked ...
2
votes
1answer
1k views

Visualforce: Selected InputCheckbox value not updating

** UPDATED (Simplified my custom object to no longer be a wrapper within a wrapper) ** Since posting I've made some adjustments, so at the moment I have a custom wrapper object called ...