Input form message box | Community
Skip to main content
Level 2
October 15, 2024
Solved

Input form message box

  • October 15, 2024
  • 1 reply
  • 799 views

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.
Best answer by ccg1706

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

 

1 reply

ccg1706
Community Advisor
ccg1706Community AdvisorAccepted solution
Community Advisor
October 19, 2024

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

 

SankarRa1Author
Level 2
October 21, 2024

Hi @ccg1706 ,

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

ccg1706
Community Advisor
Community Advisor
October 23, 2024

Hi @sankarra1

 

You can use this documentation: jsapi-en

 

Regards, 

Celia