function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Unable to update object when inputFields are used

I have a custom VF page for a custom Object.

When the quote is created for the first time, the following code works fine

<apex:inputField value="{!quote.Comments__c}"/>


On click of save there is a insert quote command.


While editing the edited values are not reflected on the screen, as I try to change them they dont bind to the input field.


For e.g in a drop down value, when I change the value from Yes to No. It still shows Yes.


So when I go to Update Quote, it reads the value Yes instead of no. 


Can you please help?





Ron HessRon Hess
can you reduce your page to a simple example of what you are doing, and post the page and controller with the code button so that we can identify what is missing?

I realized my error while i was writing a simplified version of the code for posting it on the discussion board.