Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- Visualforce Development
- :
- Re: need something that pops-up to evaluate status
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
need something that pops-up to evaluate status
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-13-2012 09:42 AM
What I would like to happen is anytime someone either adds a comment to a case or changes the case owner and clicks Save, I want either a new page that pops up or a box that pops up that says "Please evaluate the status and substatus" and the status dropdown and substatus dropdown will be there to change or not change and then another Save button. Here's the VF page I have written, but I don't know how to tie it to the Save button in SF cases. Anyone have any ideas?
<apex:page standardController="Case">
<apex:form >
<apex:pageBlock >
<h1>Please evaluate the status and substatus of this case.</h1>
<apex:pageblockSection >
<apex:inputfield value="{! case.status}"/>
<apex:inputField value="{! case.substatus__c}"/>
<apex:commandButton action="{! save}" value="Save"/>
</apex:pageblockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
Re: need something that pops-up to evaluate status
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-14-2012 01:32 AM
There's no supported way to do this. The only way that I know of is to put some javascript into a sidebar component that adds some onclick behaviour to the save button. This is a fragile solution though, so I wouldn't recommend it in production.
The preferred (supported) way to achieve this would be to replace the edit page with your own visualforce page and then you can introduce whatever behaviour you like, though at the pricing of losing the standard functionality.
Certified Salesforce Technical Architect, Developer, Advanced Developer, Administrator, Advanced Administrator, Consultant, Sales Cloud Consultant,Service Cloud Consultant
Force.com MVP | The Bob Buzzard Blog | Linked In | Twitter
I don't respond to private messages/emails asking for help.
Take the Bob Buzzard Sobject Fields quiz.

