+ Start a Discussion
AlsoDougAlsoDoug 

Validation, Pop Up and Standard Sales Force Page

As always I have searched the board, documentation etc before posting.

 

I am pretty sure the answer will be no, but I present the question anyway with a vague glimmer of hope.

 

We have a custom object called Address that is a child of Account.

 

It has a field called Primary.

 

We only want to have one child address of an account to have primary=true at anyone point in time.

 

I know I can do this with a trigger.

 

The problem is that when a user attempts to change an address to primary we would like to notify (via pop up) the user that this address was not primary and changing it to such will remove the primary from some other address.

 

And this has to be done in a standard Salesforce (IE not Visual Force) page.

 

Any one have any ideas beyond it would be easier to do it as a Visual Force page?

 

Thanks

Doug

 

Best Answer chosen by Admin (Salesforce Developers) 
RajanJasujaRajanJasuja

Hi,

 

With Standard Salesforce page, I don’t think its possible.

But with the mesh up of VF and AJEX mesh up, we can achieve this.

 

Regards,

Rajan Jasuja

 

All Answers

RajanJasujaRajanJasuja

Hi,

 

With Standard Salesforce page, I don’t think its possible.

But with the mesh up of VF and AJEX mesh up, we can achieve this.

 

Regards,

Rajan Jasuja

 

This was selected as the best answer
AlsoDougAlsoDoug

Thanks for your feedback.

 

Yeah this was one of these things I spent more time researching then it would have taken to just do it, but I was/am concerned with cost of maintaining custom pages vs. just standard pages.