Expandir la barra de logros de la comunidad.

RESUELTAS

Input form message box

Avatar

Level 1

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 solución aceptada

Avatar

Respuesta correcta de
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

 

Ver la solución en mensaje original publicado

3 Respuestas

Avatar

Respuesta correcta de
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 1

Hi @ccg1706 ,

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

Avatar

Level 7

Hi @SankarRa1

 

You can use this documentation: jsapi-en

 

Regards, 

Celia