Expand my Community achievements bar.

SOLVED

Input form message box

Avatar

Level 2

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 

SankarRa1_0-1728978275810.png

Thank you

1 Accepted Solution

Avatar

Correct answer by
Level 7

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

 

View solution in original post

3 Replies

Avatar

Correct answer by
Level 7

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

 

Avatar

Level 2

Hi @ccg1706 ,

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