Help get this topic noticed by sharing it on Twitter, Facebook, or email.

How to calculate a field value based on two lookup field values?

I have 3 fields on my controller. The first two fields are results of lookup finds. The 3rd field is a mandatory free text field.

Here is what I need:

If I am creating a new record, the user will need to select (or lookup) values for the first two fields. When the second field gets selected, AND if the user hasn't put anything in the 3rd field (just in case they started populating the fields in reverse order) - I would like the 3rd value to receive the value of 1st + 2nd fields. It would be nice if this was done using Javascript and avoided a round-trip to the server.

Sorry for the basic question... I'm getting my training wheels off little-by-little. :)

Thanks a lot for your help.
1 person has
this question
+1
Reply