Ask a Question
Back to All

Multiple validation extensions?

Hi, I have an extension that uses a webhook to validate two fields, say A and B.

This extension is called on Document content- Initialize and User update.

I noticed that if I return a successful message from my webhook (say when B is changed), this removes the earlier message (type: error) that A is invalid.

Is there a way to get existing messages to the webhook, so that I can append to the messages array? Or do I need to handle multiple validations everytime the webhook is called?

Use case:
Document Initialized

User update:
A="123" (Error message shown)

User update:
A="123" [no message]
B="abc" (Info message shown)