You need to sign in to do that
Don't have an account?
TylerBrooks
How do I update a picklist value from a visualforce page?
I'm creating a visualforce page that displays data for confirmation when changes are made to a record and I wanted an email to be triggered when the changes are confirmed/ submitted. I added a picklist to the object and reference it in the page using
<td><apex:inputField value="{!RMA__c.Changes_have_been_review__c}"/>
</td>
It shows up fine and has the values from the picklist field but whenever you select your value and hit submit it doesn't update the objects field.
Any help would be appreciated.
-Tyler
<td><apex:inputField value="{!RMA__c.Changes_have_been_review__c}"/>
</td>
It shows up fine and has the values from the picklist field but whenever you select your value and hit submit it doesn't update the objects field.
Any help would be appreciated.
-Tyler
1.Using this Example Code save this code as VF page,
2. preview. can able to view this page.
3. place ID value in URL as query string . then try to update Type picklist value.
Hope this will help you.
Thanks
karthik
All Answers
1.Using this Example Code save this code as VF page,
2. preview. can able to view this page.
3. place ID value in URL as query string . then try to update Type picklist value.
Hope this will help you.
Thanks
karthik
Tyler Brooks 14
<apex:page standardController="Account" >
<apex:form>
<apex:pageBlock title="PickList Update" mode="edit">
<apex:pageBlockSection columns="1" title="Account Edit">
<apex:inputField value="{!Account.Changes_Have_Been_Review__c}"/> // Changes Have Been Review is the custom picklist field //
</apex:pageBlockSection>
<apex:pageBlockButtons>
<apex:commandButton value="UpDate" action="{!Save}"/>
</apex:pageBlockButtons>
</apex:pageBlock>
</apex:form>
</apex:page>
hope this will help you.
Thanks,
Manoj.