Skip to main content
Level 2
Oct 15, 2024 7:45 AM UTC
Solved

Input form message box

Hi All,

How can I create a message box with all three options 'Yes', 'No' and 'Cancel'? Which msgBox type should I use to acheive this? I am looking for something like this 

Thank you

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
ccg1706
ccg1706Accepted solution
Community Advisor and User Group Leader
Oct 19, 2024 4:35 PM UTC

Hi @sankarra1, 

 

It is possible to create the message box by applying Java Script. This can be done with custom functions to control behaviour and logic behind your form triggered via a JavaScript activity or  inside the form by applying these functions:

xtk.dialogs.confirm(): Displays the dialog box to control form flow based on user input.

onSubmitForm(): Used to validate form data or control the submission process based on certain conditions.

 

 

Additionally, I share with you some useful documentation links:

- SOAP Methods Inside JavaScript 

- Input forms in Adobe Campaign 

- JavaScript Scripts and Templates 

 

¡Hope this helps!

 

Regards,

Celia

 

3 replies

ccg1706
Community Advisor and User Group Leader
ccg1706Community Advisor and User Group LeaderAccepted solution
Community Advisor and User Group Leader
Oct 19, 2024 4:35 PM UTC

Hi @sankarra1, 

 

It is possible to create the message box by applying Java Script. This can be done with custom functions to control behaviour and logic behind your form triggered via a JavaScript activity or  inside the form by applying these functions:

xtk.dialogs.confirm(): Displays the dialog box to control form flow based on user input.

onSubmitForm(): Used to validate form data or control the submission process based on certain conditions.

 

 

Additionally, I share with you some useful documentation links:

- SOAP Methods Inside JavaScript 

- Input forms in Adobe Campaign 

- JavaScript Scripts and Templates 

 

¡Hope this helps!

 

Regards,

Celia

 

Translate
SankarRa1Author
Level 2
Oct 21, 2024 4:37 AM UTC

Hi @ccg1706 ,

Thank you for your response. Could you please let me know, where exactly we can find details on these functions?

Translate
ccg1706
Community Advisor and User Group Leader
Community Advisor and User Group Leader
Oct 23, 2024 1:29 PM UTC

Hi @sankarra1, 

 

You can use this documentation: jsapi-en

 

Regards, 

Celia

Translate