51
Views
11
Comments
Solved
A pop up Confirmation
Service Studio Version
11.54.42 (Build 63111)

Hello, I've been confused for the past few days. I have an input form, and every time I input data and finish filling it by clicking the button, I want to display a confirmation popup. In this confirmation popup, there should be the data that I filled in the previous input form. If I choose 'yes,' then the data will be submitted. However, if I choose 'no,' it should go back to the input form with the existing data. How do I create the popup and its logic?

2023-11-20 06-53-17
Neha Rathore
Solution

Please find attach OML

TestPopup.oml
2023-11-20 06-53-17
Neha Rathore

Hi Julian,

We have a popup widget 

Use this and add a Boolean variable which will be false in the default value and then true when you submit button.
After this you can create you own function of yes and no that popup.

Thanks 

UserImage.jpg
Julian Raus

Hi nera, thank you so much for your answer,

but in that pop up I also want to do like this, so all the information that we input in that Rekening and Jumlah uang form will shows in that pop up


2023-11-20 06-53-17
Neha Rathore
Solution

Please find attach OML

TestPopup.oml
2023-11-20 06-53-17
Neha Rathore

Store the data in the local variable and in the popup use the expression and put your value there.

UserImage.jpg
Julian Raus
2023-05-16 06-18-07
Aalhad Rangnekar

Hi Julian,
I would recommend storing the form data in a local variable that you can use to display on the confirmation popup. Additionally, you should assign the submit action to the button in the popup block. The popup display would just be controlled by another local variable that would be toggled true/false based on the main form page button click and the cancel button in the popup.

UserImage.jpg
Julian Raus

Thank you so much for your help Aalhad

2023-05-23 04-55-55
Wasimkhan Syed Abuthahir

Hi,

Can you check this OML.

Hope this will be helpful.

Regards,

Wasimkhan S

PopupMobile.oml
UserImage.jpg
Julian Raus

Hi wasim,


Thanks alot for your help and your OML file helps me alot

2023-05-23 04-55-55
Wasimkhan Syed Abuthahir

Hi,


Is this not a solution?

Regards,

Wasimkhan S

2023-11-20 06-53-17
Neha Rathore

I think both are the solution.. we can ask him to mark both as solution

Thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.