How to validate form based on integration result

we have an interface where we are call an integration (passing data provided by the user in that interface) on submit button.

If integration got failed, then we need to display a validation message on one of the text field in the interface. else if it got succeeded then form has to submit.

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data