1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Registration Fields Loss of Data

Discussion in 'Resolved Bug Reports' started by Jeremy, Dec 16, 2015.

  1. Jeremy

    Jeremy Well-Known Member

    When a would-be registrant fails to fill out the form properly, custom fields that are drop downs and radios lose their value, while others retain it.

    To reproduce:
    1. Have 3 required (or shown) fields, 1 of each type (Drop down, radio, and checkbox)
    2. Fill out the entire form, setting values for each field.
    3. Intentionally fail captcha or password to cause the registration form to show again
    4. Notice that the values for the checkbox are kept, and the values for the drop down and radio are lost.
    Possible Regression from:

    Tested and reproduced on multiple sites, on the default style, on 1.5.4.
  2. Mike

    Mike XenForo Developer Staff Member

    I think the hasValue check that I added is unnecessary here (and likely confusing for the most part) and the cause of this. I've made some tweaks and I haven't seen any regressions yet.

Share This Page