+ Start a Discussion
ssousanssousan 

Getting input values from user that is not related to account database

Is there a way to get the inputField to accept values that are NOT in any Salesforce database [i.e object]?

 

 

Thanks

amarcuteamarcute

Hi,

 

<apex:inputField> is kind of tied to any field of an Object. You can Use <apex:inputText> component to get user input for a controller method that does not correspond to a field on a Salesforce object.

 

<apex:inputText value="{!inputValue}" id="theTextInput"/>