Question
EY
IN
Last activity: 25 Jul 2019 1:12 EDT
Display Local action (popup) from HTML when checkbox is checked
i want to call a pega local action as modal dialog when user checks checkbox
i have created the local action and section but how to call the local action when user check checbox
say i have i agree to terms checkbox and users selects that then pop up should show contains plz enter phone number ...this is in HTML
plz help
***Edited by Moderator: Lochan to update platform capability tags***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
CA
Have you considered launching the local action using Pega Javascript API? Check this out: https://community.pega.com/knowledgebase/articles/public-javascript-api-control-actions, especially the launchLocalAction API.
Pegasystems Inc.
CA
When you say HTML, is it a non-auto generated section/HTML Stream rule in Pega or is it HTML that is hosted outside Pega?
EvonSys
IN
Hi @KiranC34
This might help you :-
Step 1 :- Refer the property and the Field Value as shown below.
Step 2:
Step 3 :-In the Flow Action,HTML Tab refer your HTML Rule, or you can refer your section if applicable.
Hi @KiranC34
This might help you :-
Step 1 :- Refer the property and the Field Value as shown below.
Step 2:
Step 3 :-In the Flow Action,HTML Tab refer your HTML Rule, or you can refer your section if applicable.
Step 4 :-
END
Hope the above ss will help you.
-
SANTOSH DILEEP RAMATHOTA
EY
IN
harsh
the checkbox is present in html rule as below
<span> <input type="checkbox" id="whatsappcheck" name="whatsappoptin1" onclick="showPhone()" value="whatsappoptin1"> I Agree to Receive Important Communication via
<img src="webwb/Whatsappfavicon.png" class="logo" alt="WhatsAppLogo" style="width:32px;height:32px;" /> WhatsApp
now when user select this checkbox then we have to open the local action when the checkbox whatsappoptin1 is selected.
how i achieve this ??? checkbox in html should open local action in pega
Pegasystems Inc.
FR
Hello,
Can you use the same approach as in UI Gallery:
Hello,
Can you use the same approach as in UI Gallery:
Updated: 24 Jul 2019 6:37 EDT
EY
IN
Please understand my question.
how do i call a pega local action from html code when a checkbox is checked.
i hope u got my requirement.
Accepted Solution
Pegasystems Inc.
CA
Have you considered launching the local action using Pega Javascript API? Check this out: https://community.pega.com/knowledgebase/articles/public-javascript-api-control-actions, especially the launchLocalAction API.