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.

dynamically populated checkboxes not saved

  1. ptroxler
    Member

    Set up dynamically populated checkboxes as specified here http://www.gravityhelp.com/forums/topic/dynamic-checkboxes but gravity forms would not save the values (though displaying the columns in the entries list).
    HTML code generated looks perfectly similar to standard checkbox which gets saved.

    So there must be something going wrong between displaying the form an storing the input into the database.

    Any ideas?

    Posted 12 years ago on Tuesday April 10, 2012 | Permalink
  2. ptroxler
    Member

    ... the funny thing is: when I'm populating the checkboxes from categories, they are not getting saved, when I'm populating the checkboxes from posts, they are getting saved. weird.

    Posted 12 years ago on Tuesday April 10, 2012 | Permalink
  3. Hi Ptroxler,

    You are modifying the form object before it is displayed; however, the form object used by Gravity Forms to process the form submission does not have your modifications. I'm not 100% sure off hand if modifying the form object via the gform_pre_submission_filter to add the newly added checkbox inputs there as well is too late in the submission process; however, that is would be my recommendation.

    Posted 12 years ago on Tuesday April 10, 2012 | Permalink
  4. JayFec
    Member

    You ever get this figured out using the pre submission filter? I am currently working on a similar issue.

    Posted 12 years ago on Tuesday May 15, 2012 | Permalink