Can we add validation messages in VA Conversational Catalog during form submission

N_Snow
Tera Expert

Hello Team,

 

Could anyone please clarify whether it is possible to display a validation or confirmation message before form submission in Now Assist Virtual Agent for a catalog item, allowing the submission to be aborted based on the user's response?

 

Any guidance or best practices would be greatly appreciated.

 

Thank you in advance!

3 REPLIES 3

Ankur Bawiskar
Tera Patron

@N_Snow 

screenshots please

Vikram Reddy
Tera Guru

Hey @N_Snow,

 

Don't reach for a catalog client script's onSubmit function here, that's the instinct most people have and it quietly does nothing: catalog client scripts with DOM manipulation are not supported in Conversational mode, and the item just falls back to a window-based form instead of staying in chat. If validation needs to actually block or redirect the conversation, check these instead:

  • Set Mandatory directly on the variable rather than through an OnLoad() UI Policy, since OnLoad policies don't reliably fire mid-conversation.
  • Use Validation Regex (question_regex table) on the variable for pattern-based checks, this runs server side and works the same in chat as it does on the portal form.
  • For anything more conditional than a regex can express, push the check to a Business Rule or Flow after submission, then auto-cancel the request and drop a work note, or route it to an extra approval instead of trying to stop it in-conversation.

 

Thank you,
Vikram Karety
Octigo Solutions INC