You need to sign in to do that
Don't have an account?

How to save checkbox value to corresponding field of the object?
I have a visualforce page that contains some Questionnaire and for that I have created yes and no inputcheckbox and corresponding to that checkbox on visualforce page I have fields in my custom object. Now what I want is that when user check the checkbox on the visualforce page then I want to be checked the checkbox in my field also.
<apex:page sidebar="true" showHeader="false" standardStylesheets="false"> 5. Have you paid off any existing debt in the last 12 months?<br></br> <apex:pageBlockSection > <apex:inputCheckbox label="Yes" /> <apex:inputCheckbox label="No" /> </apex:pageBlockSection> <apex:commandButton value="Submit" action="{!save}"/> </apex:page>
All Answers