• Carol McConnell
  • NEWBIE
  • 10 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 3
    Replies
I am completly new to VisualForce pages but what I'm trying to do is to display a message when a field changes to a certain text.  The field is a picklist, so I don't know if that matters.  Here is what I have in my VF page. When I make the change in the field, I'm not getting anything, no error or anything.  This is just a reminder for them to do something after they change the substatus field to Negotiations Complete.

I would appreciate your assistance.

Thanks,
 
<apex:page standardcontroller="Provider_Interactions__c">
<script>
var PIsubstatus = '{!Provider_Interactions__c.Sub_Status__c}';
window.onload = function () {
if(PIsubstatus == 'Negotiations Complete')
{
alert ('Please Update The Fee Schedule Information');
}
}
</script>
</apex:page>

 
I'm trying to figure out what the formula would be to require one picklist be selected if a certain item in another multi select picklist field is chosen.

I.E.  If Project type which is a multi select picklist contain PG then the PG type picklist field should be required.

Thanks,
I am completly new to VisualForce pages but what I'm trying to do is to display a message when a field changes to a certain text.  The field is a picklist, so I don't know if that matters.  Here is what I have in my VF page. When I make the change in the field, I'm not getting anything, no error or anything.  This is just a reminder for them to do something after they change the substatus field to Negotiations Complete.

I would appreciate your assistance.

Thanks,
 
<apex:page standardcontroller="Provider_Interactions__c">
<script>
var PIsubstatus = '{!Provider_Interactions__c.Sub_Status__c}';
window.onload = function () {
if(PIsubstatus == 'Negotiations Complete')
{
alert ('Please Update The Fee Schedule Information');
}
}
</script>
</apex:page>

 
I'm trying to figure out what the formula would be to require one picklist be selected if a certain item in another multi select picklist field is chosen.

I.E.  If Project type which is a multi select picklist contain PG then the PG type picklist field should be required.

Thanks,