First of all apologies for the late reply.
To validate the field using the javaScript, you can use the javaScript widget and write the validation code in that widget.
Please refer the below link for more information.
Please don't hesitate to contact us for any further query.
Best regards,
RunMyProcess Support Team