✨ Community just got smarter! Our all-new AI search is live! ask anything in the search bar, get instant answers.

how to use passwordError="passwordTooShort" in my own CRMScript

lock
push_pin
done
Answered
1

Hi,

i have my own registration page.

I want to have the 2 Password textbox. In the customercenter by the changecust.html, i hvae found this:

<div class='form-group'>
           		<label for='password' class='col-sm-4 control-label'>Neues Passwort</label>
            	%IF:passwordError="passwordTooShort"%
                	 <span class="errorText">Fehler: Das Passwort ist zu kurz.</span>
            	%ENDIF%
            	%IF:passwordError="passwordFamiliar"%
                	 <span class="errorText">Fehler: Das Passwort darf keinen Ihrer Namen enthalten.</span>
            	%ENDIF%
                %IF:passwordError="passwordMoreDigits"%
                     <span class="errorText">Fehler: Das Passwort enthält nicht genügend Ziffern.</span>
                %ENDIF%
                %IF:passwordError="passwordMoreLowercase"%
                     <span class="errorText">Fehler: Das Passwort enthält nicht genügend Kleinbuchstaben.</span>
                %ENDIF%
                %IF:passwordError="passwordMoreUppercase"%
                     <span class="errorText">Fehler: Das Passwort enthält nicht genügend Großbuchstaben.</span>
                %ENDIF%
                %IF:passwordError="passwordMoreSpecial"%
                     <span class="errorText">Fehler: Das Passwort enthält nicht genügend Sonderzeichen.</span>
                %ENDIF%
                %IF:emptyPassword="1"%
                     <span class='error'>&nbsp;</span>
                %ENDIF%
                <div class='col-sm-8'>
                         <input type="password" name="newPw" value="%password%" size="50" maxlength="64" class='form-control' placeholder="Bitte geben Sie Ihr neues Passwort ein">
             	</div>
       		</div>
			<div class='form-group'>
           		<label for='confirmPassword' class='col-sm-4 control-label'>Passwort bestätigen</label>
            	%IF:passwordMismatch="1"%
                	 <span class='errorText'>Fehler: Die Passwörter sind nicht identisch.</span>
            	%ENDIF%

Give it a possibility to use the same code in my own CRMScript ?

but i don't know how to call the passwordError Variable and what are the different Value from passwordTooShort, passwordFamiliar, passwordMoreDigits etc...

Wenn you can help me...

Thanks

20 May 2026 | 08:56 AM

All Replies (1)

I doubt that you can use the standard parser variables in your own CRMScript.

If your CRMScript looks like this:

%EJSCRIPT_START%
%EJSCRIPT_END%

You can add %PARSER_TREE% after %EJSCRIPT_END% to see which parser variables you can use.

%EJSCRIPT_START%
%EJSCRIPT_END% %PARSER_TREE%

Remember that CRMScripts does not have the same context as the default files (e.g  registerCust.html) and will not provide you the same 

20 May 2026 | 01:01 PM

Add reply