You need to sign in to do that
Don't have an account?
vishal gupta 47
How show a popup when one of the buttons is clicked. Something like a modal popup where user has to fill in something or click the cancel button in the popup page before to go back to the calling page.
Could someone point me with any sample code.
modal popup from visual force page
How show a popup when one of the buttons is clicked. Something like a modal popup where user has to fill in something or click the cancel button in the popup page before to go back to the calling page.
Could someone point me with any sample code.
If you are using a lookup window to find a contact, what about creating a custom lookup window to which you add a "create contact" button. Use the create button to replace the lookup content with new contact fields right in that window, simple as re-rendering the page using render flags. That way its in keeping with standard salesforce UX and your users will possibly embrace the custom functionality more easily.
The only moderately difficult part is getting the selection back from the child lookup window to the parent.
These functions go on the parent VF page: Link to open the window This function goes on the custom lookup page:
Please mark this post as solved if it's resolved.
Best Regards,
Nagendra.P
All Answers
1) http://www.salesforcegeneral.com/salesforce-modal-dialog-box/
2) http://blogforce9.blogspot.com/2014/01/simple-popup-in-salesforce-standard-vf.html
3) http://www.valnavjo.com/blog/modal-dialog-on-a-standard-salesforce-page/
Let u sknow if this will help you
If you are using a lookup window to find a contact, what about creating a custom lookup window to which you add a "create contact" button. Use the create button to replace the lookup content with new contact fields right in that window, simple as re-rendering the page using render flags. That way its in keeping with standard salesforce UX and your users will possibly embrace the custom functionality more easily.
The only moderately difficult part is getting the selection back from the child lookup window to the parent.
These functions go on the parent VF page: Link to open the window This function goes on the custom lookup page:
Please mark this post as solved if it's resolved.
Best Regards,
Nagendra.P