function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sohamsoham 

pop up using VF

i want to have a pop up on standard pagelaout which is using a VF . this VF shud only be rendered if and only if a certain field has a conditional value and also the VF pop up shud ultimately pupulate the data in the output page  . my idea is to override the save button . any help will be very much welcome

 

thanks to all those who are making teh VF learning for newbies like us a cake walk

bbrantly1bbrantly1

Hello Soham,

 

Check out this tutorial on how ot make a Modal dialog popup using yahoo api's it's layout very well.

 

http://wiki.developerforce.com/index.php/Tutorial:_Modal_Dialogs_in_Visualforce_using_the_Yahoo!_User_Interface_Library

 

 

If you need some more help feel free to email me bbrantly@sabersolutions.com

sohamsoham
but i am afraid of using the YUI libraray for my organisational purposes
Ron HessRon Hess
you can do the same type of think using Simple Modal library, which can be placed in your static resource.
sohamsoham

@Ron

 

can you explain bit more . in fcat i would like this pop up to come on its own after save . some sections of the code is not making sense :(( 

Ron HessRon Hess

popups are not the best tool for what you describe, they are not easy to make work and won't override buttons.

 

instead you should use validation rules or visualforce error messages to inform the user about data on the page when attempting to save.

 

are you trying to block a save?

or send the user somewhere after a save?