Validation of hubspot form input with hubspot list




i have created a hubspot form on a hubspot landing page. on this form is a requested form property “coupon_code”.

when a user fills up the form, enters a coupon code and submit, can hubspot do a validation against a hubspot list? i.e. if coupon code does not exist in the list, shows error message.

if hubspot is not able to do a validation on the form, is there any work flow we can create at the back?