Hello Anusha, I would avoid building this through Forms.
To my knowledge, ISC Forms do not have a password/secret/masked field type today. The available fields are normal fields like Text, Text Area, Select, Date, Email, Phone, Toggle, etc. So even if you create Password and Confirm Password as Text fields, the values will be entered as plain form data. For password reset, that is not a safe design.
Text field validation can help with things like length or regex, but it still does not solve the main issue here, which is securely collecting and handling the password.
For this use case, I would use the OOTB Password Management flow instead. Configure Password Management for the supported source, attach the required password policy, and enable the Password Reset / User Unlock methods on the Identity Profile. You can also share the direct reset URL with users:
https://<tenant>.identitynow.com/passwordreset/default/reset-password
That keeps the reset inside SailPoint’s supported password flow, with policy validation and the configured verification methods like email, phone, security questions, MFA, or helpdesk code depending on your setup. If this is helpdesk/admin assisted, they can also trigger a reset email from the identity page instead of collecting the password in a custom form.
In short, masked password + confirm password through Forms is not really supported today. I would use OOTB Password Management for this rather than collecting passwords through Forms/workflows.