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.

Checkboxes not showing up

  1. BIGLIFE
    Member

    I have had a form up and running for months and today it was brought to my attention that checkbox options of a checkbox field on the form are not there. The title of the selection is there but no actual checkboxes to check. If I go to edit this particular form and select the checkbox field in question, all of the checkbox options appear once I select one of them but when I update the form they disappear and only the title is left. I have also tried creating a new checkbox field and it's check box options will not appear either. Strange..... any ideas?

    Posted 11 years ago on Wednesday October 17, 2012 | Permalink
  2. David Peralty

    Can you link to your form? Sounds like it could just be a CSS issue but I would have to see the form to be able to help further.

    Posted 11 years ago on Wednesday October 17, 2012 | Permalink
  3. BIGLIFE
    Member

    http://www.biglifeonline.org/get-involved/prayer/

    The checkbox field in question is: Prayer Participation

    Posted 11 years ago on Wednesday October 17, 2012 | Permalink
  4. David Peralty

    Can you export your form and send it to me at peralty@rocketgenius.com
    It looks to me in your HTML that there aren't any checkbox options in that field.

    Posted 11 years ago on Wednesday October 17, 2012 | Permalink
  5. Does this field show up appropriately when viewing from the form builder preview window in the admin?

    Posted 11 years ago on Wednesday October 17, 2012 | Permalink
  6. BIGLIFE
    Member

    Rob,
    My previewer doesn't show anything. I'm assuming there must be a Javascript issue?

    Posted 11 years ago on Wednesday October 17, 2012 | Permalink
  7. David Peralty

    Can I have you try the following:
    http://www.gravityhelp.com/documentation/page/Testing_for_a_Theme/Plugin_Conflict

    I am not sure why you can't see them, I just put your form in my test installs, and it was fine. I noticed you have it set to allow dynamic population, but that shouldn't effect anything.

    Do you have something in your functions.php file that could stop the field from showing?

    Posted 11 years ago on Wednesday October 17, 2012 | Permalink
  8. BIGLIFE
    Member

    I found the issue. Ended up being this function in my functions.php file:
    function update_choices($choice_html, $field)
    I'd forgotten to place.......... return $choice_html; ...........at the end of the function the last time I made an update to it. The function was returning zero values for the choices since I wasn't returning a $choice_html variable.
    Sorry for the runaround. Thanks for the help anyway.

    Posted 11 years ago on Wednesday October 17, 2012 | Permalink
  9. David Peralty

    Glad you were able to pinpoint it.

    Posted 11 years ago on Wednesday October 17, 2012 | Permalink

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