There is a way to auto close the popup with a code page (I can post the link if you decide to try it), but it only works on add record or edit record, after you click save. So I'm not sure that is helpful. If you go with Mark's strategy, you could always just put a note 'Please close this popup to continue' or something.
Additionally, if you don't need anything specific from the record on your popup, and just need a simple message, you could use Mark's idea but just use a rich text page, versus a new form.
------------------------------
Mike Tamoush
------------------------------
Original Message:
Sent: 06-15-2022 12:45
From: Mark Shnier (YQC)
Subject: Confirm button to show pop up message box
The form rule pop up would seem to be pretty close to what you want. I'm out of new ideas ......
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
Original Message:
Sent: 06-15-2022 12:42
From: Mark Shnier (YQC)
Subject: Confirm button to show pop up message box
I believe the onclick uses Javascript.
What if you ask the users to push a button and all the button does is populate a checkbox field or a formula rich text field which edits the record and puts a red message on the record saying that they have viewed the message.
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
Original Message:
Sent: 06-15-2022 12:01
From: Amy Gosz
Subject: Confirm button to show pop up message box
To confirm, with the code I already have which did create a button...is there no 'onclick' code that can be added? If so, how would it be written? I would even be happy to have the button create the message on the form itself (ie: show a formula field with the message) instead of a pop up box.
------------------------------
Amy Gosz
Original Message:
Sent: 06-15-2022 11:23
From: Mark Shnier (YQC)
Subject: Confirm button to show pop up message box
OK, so here is a low tech Plan B.
Create a new form which is super mini, like just a message. Make the button to open the same record in view mode in dfid=10 (or whatever the super mini form # is. Set the button to open in pop up. It will be a smaller than normal full window size.
But then the user would have to close that box. I don't believe there is a non javascript way to close the code. (Maybe with a Code Page")
But I'm not understanding in your workflow what would force the user to click the button to see the pop up.
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
Original Message:
Sent: 06-15-2022 10:43
From: qb pipelines
Subject: Confirm button to show pop up message box
I had that, but my manager wants them to click a button to show the message.
------------------------------
qb pipelines
Original Message:
Sent: 06-15-2022 10:41
From: Mark Shnier (YQC)
Subject: Confirm button to show pop up message box
Maybe you can leverage form rules to Display a Message when any of selected fields are changed.
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
Original Message:
Sent: 06-15-2022 09:56
From: Amy Gosz
Subject: Confirm button to show pop up message box
I am unable to figure this out. I was able to create the button itself, but not sure what code is needed to open a pop up message box. Here is what I have so far:
"<a style=\"background: #4285f4; border-radius: 5px; padding: 8px 20px; color: white; display: inline-block; font: normal 700 24px; text-decoration: none;\">Confirm</a>"
I need the button to also open a pop up box to display a message before the user actually saves the record. The button does not need to actually save the record, just display a message and have an 'OK' box to click.
All I can find is Javascript and I know that can't be used anymore.
------------------------------
Amy Gosz
------------------------------