Jump to content

Inscreption Button is desabled


ouldfella

Recommended Posts

thanks for your reply,

this is the source code of the button :

<input class="btn btn-large btn-primary" value="Inscription" disabled="disabled" type="submit">

and in the clientregister.tpl :

<input class="btn btn-large btn-primary" type="submit" value="{$LANG.clientregistertitle}"/>

how added html attribut disablad ?

Link to comment
Share on other sites

thanks for your reply,

this is the code source in templates/alaska/clientregister.tpl

<input class="btn btn-large btn-primary" type="submit" value="{$LANG.clientregistertitle}"/>

and this is the code in browser :

<input class="btn btn-large btn-primary" value="Inscription" disabled="disabled" type="submit">

Link to comment
Share on other sites

I found the probleme :

{include file="$template/includes/pwstrength.tpl"}

{if !isset($noDisable)}jQuery('.using-password-strength input[type=submit]').attr('disabled', 'disabled');

but if i delete this line 43 in clientregister.tpl, is there any probleme in the future ?

Link to comment
Share on other sites

thanks for your message,

but if pwstrength.tpl have a bug, why whmcs use it ?

I don't know if there is a bug in it or not... you might be using a custom template that clashes with jquery, and I haven't bothered to check whether the above code is standard or even which template file it's from.

Link to comment
Share on other sites

  • 3 weeks later...

it checks to see that the 2 passwords are the same - if they are, then the "Register" button is ENABLED... if they are not, the "Register" button remains DISABLED.

 

i've just tried it on a v7.1.2 dev, using the default Six theme and it works correctly... when the two passwords match, the button is enabled and when ALL of the required fields have text in them, the registration process can continue. :idea:

 

rfBgyo5.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated