PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

UNchecked checkboxes not updated correctly

  1. mja_sa
    Member

    Hi

    I have a front-end form that enables users to update their user profile.
    There are various custom fields.

    Fields that have checkboxes are not updating correctly when a checkbox is UNchecked. It saves correctly when checked, but if you uncheck it, the original value is not removed from the database. When the form loads again, the unchecked checkbox shows as checked. It seems that unchecking is not saved to the database.

    Kind Regards

    Posted 11 years ago on Wednesday January 2, 2013 | Permalink
  2. Can you share with us the code you are using the load the user profile fields, and the code you are using to update the user profile? Since this is not a feature of Gravity Forms, it is likely in the way you have implemented your code.

    Posted 11 years ago on Wednesday January 2, 2013 | Permalink
  3. mja_sa
    Member

    I don't have any custom code. I'm using the Gravity Forms User Registration Add-On, which is working fine for all the other fields. Only checkboxes that are unchecked when editing are problematic, probably because the unchecked value is not submitted with the other form fields.

    Posted 11 years ago on Wednesday January 2, 2013 | Permalink
  4. Ah, you didn't mention you were using the beta. Can you export that form please and email it to me at chris@rocketgenius.com - I would like to install it.

    Also, please confirm which version of the user registration add-on beta you are using? I have a more recent version I can send to you if I can't recreate the problem.

    Posted 11 years ago on Wednesday January 2, 2013 | Permalink
  5. I have a newer beta version of the User Registration add-on which will resolve this issue for you. I just sent it to your email. Please update the topic with your results.

    Posted 11 years ago on Friday January 11, 2013 | Permalink
  6. mja_sa
    Member

    Thank you, the issue was resolved with version 1.5.beta1.10 of the User Registration add-on.

    Posted 11 years ago on Saturday January 12, 2013 | Permalink
  7. Thank you for the update.

    Posted 11 years ago on Saturday January 12, 2013 | Permalink

This topic has been resolved and has been closed to new replies.