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.

Making Form Options Unavailable

  1. DuvalARES
    Member

    I need to create forms for volunteers to register for activities. I'll have a list of locations for example where people will work. Today the form is emailed to me and I replace the checkbox for that location with the volunteer's name. That let's me know at a glance how many sites are staffed and which ones I need to fill.

    Is anything like this possible with Gravity? I don't want to remove the option completely, I just want to make it unavailable (and best case do a data swap).

    You can seen an example here: http://www.duvalares.org/river-cleanup.php

    Posted 13 years ago on Thursday February 24, 2011 | Permalink
  2. Currently that isn't possible if you want to retain the exact same look of that form.

    The checkbox field doesn't allow you to show text in place of the checkbox. The checkbox field only has a label (which in your example would be the location) and then the checkbox is shown automatically.

    You could do something like this but you would have to separate the two. Have an area on your form using the HTML field where you list the locations that have already been assigned, and then below that have the checkbox fields for the locations that have not already been assigned in a separate field.

    So it's possible to keep track of it the way you are, the display would just have to work differently because of how fields work in Gravity Forms.

    Posted 13 years ago on Thursday February 24, 2011 | Permalink
  3. DuvalARES
    Member

    Thanks.

    How difficult would it be to make radio buttons and checkboxes dynamically disabled? I'm thinking you're already storing everything in a database so you could add a column for "enabled". When a form is submitted the column is updated for the selected element(s) and when the page is displayed the next time the element is visible but disabled.

    Posted 13 years ago on Wednesday March 2, 2011 | Permalink
  4. I'm not 100% sure how this would be implemented but virtually anything is possible through customizations. You could use jQuery to disable the fields by writing custom code that queries the entry data and then uses jQuery to disable the appropriate checkboxes.

    Posted 13 years ago on Wednesday March 2, 2011 | Permalink
  5. DuvalARES
    Member

    Ok. I guess I'll have to weigh the ROI of spending my time to customize it. Thanks.

    Posted 13 years ago on Wednesday March 2, 2011 | Permalink