Expandir minha barra de realizações na Comunidade.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.

SOLUCIONADO

How to block form submission or not depend on some conditions?

Avatar

Level 3

I know the "submitStart" event of GuideBridge object, but it cannot block the submit. Anyone know the method to do this? I want to retrieve some data form backend before submit and after the data successfully retrieved, then submit.

1 Solução aceita

Avatar

Resposta correta de
Employee Advisor

@fulongt37334138 

Couple of suggestions:

- You can write your own custom submit action[0], retieve the data and after validation, perform the desired submit action.

- You can add a rule before the actual submit (guideBridge.submit()) to make an AJAX call to retrieve the data and submit the form, based on a condition.

 

[0] - https://experienceleague.adobe.com/docs/experience-manager-65/forms/customize-aem-forms/custom-submi... 

Ver solução na publicação original

1 Resposta

Avatar

Resposta correta de
Employee Advisor

@fulongt37334138 

Couple of suggestions:

- You can write your own custom submit action[0], retieve the data and after validation, perform the desired submit action.

- You can add a rule before the actual submit (guideBridge.submit()) to make an AJAX call to retrieve the data and submit the form, based on a condition.

 

[0] - https://experienceleague.adobe.com/docs/experience-manager-65/forms/customize-aem-forms/custom-submi...