You need to sign in to do that
Don't have an account?
Dale Worthington
Javascript alert based on piclist
Hi All
Im trying to alert based on a picklist, my example is below.
My understanding is that this should work... Is there something im missing?
Im trying to alert based on a picklist, my example is below.
My understanding is that this should work... Is there something im missing?
<apex:page StandardController="Opportunity"> <script> if({!Opportunity.StageName}=="Contract Signed") alert('Alert Box'); </script> </apex:page>
You need to update the script use '{! }'
Hope this helps !!
--
Thanks,
Swayam