Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

how can i perform form validation in widget

asha4
Kilo Contributor

how can i perform form validation in widget(service portal)

3 REPLIES 3

Dhananjay Pawar
Kilo Sage

Bhagyashri Sort
Kilo Guru

Mahesh Kumar7
Mega Expert

You do not have to worry much about form validations in ServiceNow.

Mandatory checks are taken care by ServiceNow itself. However for other validations you can use angular directives e.g. *ngIf=variable.invalid / variable.dirty / variable.touched