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

Populating custom object fields from a Wizard

I've been trying to create a wizard which steps through collecting data to populate accounts and contacts using, for example:




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





with the following code in the page controller:





Account accNewAccount;



public Account getAccount()
        return accNewAccount;  

public void setAccount(Account AccInfo)
        this.accNewAccount = AccInfo;  




However, now I am trying to populate fields in a custom object, whose name is "Offer", namespace prefix is "expw190209" and API name is "expw190209__Offer__c".


I try and follow the method for the account object on the page and the page controller, but it doesn't seem to work, and I cannot seem to find instructions that show you how to do it with anything other than a standard object!


If anyone could give me an example along the lines of what I wrote above, it would be much appreciated.








hello I just wanted to see if you received an awser to your question. I am trying to do something simliar