You need to sign in to do that
Don't have an account?
joemur
Checkbox Does Not Save to Custom Object
I have created a custom object and within the object i have some checkbox fields.
I am trying to add the field to the edit screen so that when the box is checked, it updates the field in the object after the save is pressed.
The save does not occur.
Any Ideas why the data will not save? I have other inputFields that save just fine.
<apex:page standardController="CEG_Proposal_Letter__c" extensions="CEG_PL" showHeader="true" tabStyle="CEG_Proposal_Letter__c" action="{!checkForNullID}" >
<apex:form >
<apex:pageBlock title="CEG Proposal Pricing Quote Selection" >
<apex:pageBlockSection columns="2">
<apex:inputCheckbox value="{!CEG_Proposal_Letter__c.Mid_Term_Option_Selected_1__c}" label="Mid Term Select" />
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
I am trying to add the field to the edit screen so that when the box is checked, it updates the field in the object after the save is pressed.
The save does not occur.
Any Ideas why the data will not save? I have other inputFields that save just fine.
<apex:page standardController="CEG_Proposal_Letter__c" extensions="CEG_PL" showHeader="true" tabStyle="CEG_Proposal_Letter__c" action="{!checkForNullID}" >
<apex:form >
<apex:pageBlock title="CEG Proposal Pricing Quote Selection" >
<apex:pageBlockSection columns="2">
<apex:inputCheckbox value="{!CEG_Proposal_Letter__c.Mid_Term_Option_Selected_1__c}" label="Mid Term Select" />
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
All Answers
Can you please post controller code.
Thanks,
Gaurav
Skype: gaurav62990