cancel
Showing results for 
Search instead for 
Did you mean: 

open PopUp using guard condition

martin_wolpers
Explorer
0 Kudos

Hi folks,

i've to open a PopUp depending on the status of a checkfield, i.e. by checking the checkbox the Popup should appear (info-box-like) and by de-checking the box nothing should happen.

I was thinking of using the guard condition on events but for popups the guard condition is disabled.

Tried to use dynamic expression but could not make it work.

any ideas out there? it's kinda urgent.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Martin,

maybe you can find a solution with the timer component. There you can enter a condition, when the action should fire an event. When the event was fired it should also change the condition to false.

Best Regards,

Marcel

Former Member
0 Kudos

Hi,

what condition should be put in the 'guard condition' parameter. besides true and false?

anyone can guide?

Former Member
0 Kudos

Hi,

You told Upon clicking on the Check box the Popup has to be activated so adda Guard Condition like below

@checkbox =='true'

Govindu

Former Member
0 Kudos

Hi Govindu,

So I connect the timer to the input form which has the checkbox(required to be checked in order to show the pop-up).

Then I set the guard condition of the timer: @Checkbox=='true'. Deployed and and when preview, the whole input form is not accessible at all. What went wrong?

Also I would like to know why is it the data(Num) returned from the pop-up, mapped back to the input field(Num) kept showing 0.00

But for data (Text), its working fine.

tq in advance.

Former Member
0 Kudos

I think you mistook what Guvindu told you.

the Timer should be connected to the popup, and not to the form.

it's guard condition is a dynamic expression that should look like that:

#ID[SOMETHING]@CheckBoxFieldName == true

also, the link between the timer and the popup should be defined with the event that is used to open the

popup.

Former Member
0 Kudos

Hi Amir,

thanks for reply.

I created the popup by dragging the outport of the input form and select the 'open popup signal' from the context.

Then add the timer component and try to connect it to the newly created popup but it is not possible. It wont connect.

Is this the right way?