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
SLSL 

Populate fields

Hey,

 

 Not sure if this is possible: If I have 2 fields (PickList and Text) Is there a way to set the value of the Text field depending on the value chosen in the PickList? I know that you can use a formula field but I am wondering if this functionality can work in edit mode (before I hit the Save button).

 

Thanks,

Shay

TejTej

I this this is possible with Onchange attribute.

you have to handle the logic in controller like what value u want to populate in the text box based on the picklist value selected

SLSL

Hey Tej,

 

 Thanks for your reply. This brings me to another problem: I can't access the Apex Classes nor Apex pages. I created an object called Income and created all the appropriate fields. The only editing I can do to this object is from the Setup --> Create --> Object

list. I don't see any class or page files related to that Object.

 

Thanks,

Shay

jackeejackee

Is that your production or your test instance ?

 

In Production you will not find you will have do that in test and then move to prod.