Question popup modal message client script

Jessica28
Tera Guru

Hello,

I am trying to implement a popup modal message for a change request using client script. I am encountering an issue where a popup message won't stay. It disappears immediately after it pops up (see attached video).  Thank you

 

Jessica28_0-1712105763641.png

 

5 REPLIES 5

James Chun
Kilo Patron

Hi @Jessica28,

 

Seems like you are using a UI Action to change the 'state' of the CR and using the onChange Client script to prompt a popup modal. It's likely that the UI Action is updating the record and refreshing the page which is clearing the modal. 

You would have to add your script in the UI Action instead.

 

Cheers

Thank you for your assistance @James Chun .

What I am trying to achieve is, when the state changes to 'Schedule', I want to display a popup message reminding the user to attach a form. Once they click on the 'OK' button in the popup, they can proceed using the UI action. The 'Schedule' UI action is an out-of-the-box function that I prefer not to modify. Do you have any suggestions on how to implement this using a popup modal message? It would provide a much nicer user experience.

 

It is working fine, if I change it to an Alert.

Jessica28_0-1712114896932.png

 

Jessica28_1-1712114992021.png

 

Hi @Jessica28,

 

What sort of form are we talking about here?

Is the attachment mandatory before a Change can be scheduled? If so, having a pop-up would not be enough.

 

Prompting the pop-up every time can be 'annoying' and degrade user experience because the user may have already attached a form.

 

Cheers

Hi @James Chun 

I totally agree with you. It can become 'annoying' after a while. The popup is simply intended as a reminder. Do you have any suggestions on how we should handle this?