Toggle menu

User - Set Password

This field updates the password of a login user of the iCM Site User type. The user name function must return the username of the login to update (account users have randomly generated GUID usernames - and don't have passwords!).

The password a user chooses should be entered into a Password (Non-storing) or Password (Storing) field so that site password complexity rules can be checked.

Properties

LabelDescriptionType Name
Failure MessageMessage to be displayed if an error occurs when trying to set the user's passwordFAILUREMESSAGE
Password FunctionThe JavaScript function that is executed server-side to get the password to be set

function (helper) {
    return helper.getFieldValue("PASSWORD");
}
PASSWORDFUNC
Success MessageThe message to display when the user's password has been set successfully. Leave blank for no messageSUCCESSMESSAGE
User Name FunctionThe JavaScript function that is executed server-side to get the login username whose password will be setUSERNAMEFUNC
Stop Processing on ErrorIf true, and an error is encountered, further action fields on the form won't be processed. See The Form Lifecycle: Control and Action Processing for more informationSTOPPROCESSINGONERROR
DocumentationAdd documentation to your field to help explain any complex functionality to future users. You might include information on what the field does and how it relates to other fields on the form. Notes added here are only ever visible in the Forms Designer, they can be searched for, viewed and downloaded from the action panel. See Common Field Properties for an exampleDOCUMENTATION
Last modified on November 11, 2022

Share this page

Facebook icon Twitter icon email icon

Print

print icon