Discussions
Verify against a custom password-type field
Hi, everyone.
My question is pretty much exactly the same as this one, but that one is now closed.
I have a custom field on my vendor records of type Password. Vendors are accessing an application I've written outside of Netsuite, and I want to be able to compare the passwords entered by my vendors with the field on their NS account. Being that it is a password field, Netsuite encrypts the value, but I can't seem to access it at all. Looking up the value of the field returns "(Encrypted)". According to the documentation on password fields
"When validating, you pull the encrypted password value into a hidden field and use custom code to encrypt the value the user typed and compare it with the actual encrypted value."