You need to sign in to do that
Don't have an account?

display message inside a single popup based on condition
Hi all,
I want help in acheiving this.
OnClick of submit button , check if condition is true, then display "Hello World" inside popup and if condition is false then display "please enter a review first" inside popup.
Please help someone
I want help in acheiving this.
OnClick of submit button , check if condition is true, then display "Hello World" inside popup and if condition is false then display "please enter a review first" inside popup.
Please help someone
- Display popup message only once if a condition is false. please check the below link for reference.
- https://salesforce.stackexchange.com/questions/175456/display-popup-message-only-once-for-new-opp
- https://stackoverflow.com/questions/37139895/displaying-a-message-as-pop-up-when-my-condition-is-true
hope it will be helpful.Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.
Thanks
Rahul Kumar
Try this piece of code.
Kindly mark this as solved if it's resolved so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.
Regards
Suraj
Thanks for the response rahul and suraj
but i dont want to display a alert message
--> I want 'popup' box to be open
OnClick of submit button , i want to display messages inside popup box according to condition. it shuld check:
--> if condition is true, then display "Hello World" inside popup box
--> if condition is false then display "please enter a review" inside popup box
If anyone can help me with an example, that will be very helpful.
Thanks in advance