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
mac adminmac admin 

confirmation box in custom vfpage

Hi all,
I want to show the confirmation box before changing the picklist value in custom vfpage. Based on picklist value I'm showing the idfferent fields. So i want to show the confirmation box.

Can anyone help me over here.

Thanks in advance.
Balayesu ChilakalapudiBalayesu Chilakalapudi
Try using jQuery Dialog as described in 
https://jqueryui.com/dialog/#modal-form
Tarun J.Tarun J.
Hello Mac,

You can use onChange attribute to call a Javascript method and dispay confirmation box. Based on user's choice, you can render different sections to display various fields.

-Thanks,
TK

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.