Stronger Registration Validation Required - Joomla! Forum - community, help and support


i wanted able validate following password fields used in registration strict.
i of course dont want edit core , welcome knowledge how extend rather edit core.
i need js looks see have @ least 6 characters , number letter mix.

i have thought might have been available in exisitng ext alas seem show if weak none allow set validation rule.

currently seems ok 4 chars though cant work out why.

code: select all

<field name="password1" type="password"
         autocomplete="off"
         class="validate-password"
         description="com_users_desired_password"
         field="password2"
         filter="raw"
         label="com_users_register_password1_label"
         message="com_users_register_password1_message"
         required="true"
         size="30"
         validate="equals"
      />

      <field name="password2" type="password"
         autocomplete="off"
         class="validate-password"
         description="com_users_register_password2_desc"
         filter="raw"
         label="com_users_register_password2_label"
         message="com_users_register_password2_message"
         required="true"
         size="30"
      />

is way this.

as plugin can run on page load can

a)check user registration page
b)hijack submit button functionality in javascript (if turned off no problem)
c)alert popup div or other nice presentation if password not strong enough.

this might better modifying core files , or creating new registration page hard level. possibly plugin thing.

but perhaps there validators in j framework - wouldnt know since docs suffer 1.five-itus.





Comments