Troubleshooting tips

  1. In Internet Explorer, my registration form never submits, even when I try to not use PrefPass.
  2. In Internet Explorer, my forms don’t submit to PrefPass when they should, or they go to the wrong URL at my site.
  3. In Internet Explorer, my registration form submits instead of displaying the PrefPass pop-up.
  4. After adding PrefPass, my forms don’t seem to get handled correctly anymore.
  1. In Internet Explorer, my registration form never submits, even when I try to not use PrefPass.

    Internet Explorer can mix up names, ids, and methods. Make sure you do not have any elements with name=”submit” or id=”submit”.

  2. In Internet Explorer, my forms don’t submit to PrefPass when they should, or they go to the wrong URL at my site.

    Internet Explorer can mix up names, ids, and methods. Make sure you do not have any elements with name=”action” or id=”action”.

  3. In Internet Explorer, my registration form submits instead of displaying the PrefPass pop-up.

    You probably have another script that is capturing the document.onclick event and returning true. An easy workaround is to turn off this event by making your submit button code look something like this:

    <input onClick="document.onclick=null; prefpassSSORouterReg(this.form.email.value); return false;" type="submit" value="Submit">

  4. After adding PrefPass, my forms don’t seem to get handled correctly anymore.

    PrefPass uses Javascript to submit your forms, which may not post the submit button element itself in all browsers. So if your code depends upon the submit button being posted, you may have to add this element separately.

    For example, if your login form has a submit button that looks something like this:

    <input prefpassSSORouterLogin(this.form.email.value); return false;" type="submit" name="login" value="Login">

    and your form handling code looks for this element, for example with PHP code something like this:

    if ( $_REQUEST['login'] )

    then you will need to add this as a separate field in the form, something like this:

    <input type="hidden" name="login" value="Login">


Resources