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.

Conditional form fields

  1. I'd like to be able to create a form that has an option where the user selects a number from 1-50 from a dropdown list; then, depending on what number was selected, I want to show single-line entry fields.

    So, for example, if I choose '3', there should be three text-boxes displayed to the user.

    This seems like it should be easy, but the logic for conditional forms is just 'IS' or 'IS NOT'. There is no 'less than' or 'greater than'.

    Is there any way to do what I want at this time?

    It'll be similar to this: http://www.wolfsnap.com/google-apps/ but, I'd like nicer logic. vs. just a paragraph entry box. (That form is from wufoo)

    Thanks!

    David

    Posted 13 years ago on Sunday February 20, 2011 | Permalink
  2. Conditional logic using greater than/less is not currently supported. This is actually the first time it has been suggested as a feature. I can see how it could be used in your situation to show a bunch of fields, so it is a good idea and we'll add it to our feature idea list.

    It doesn't sound like it would be that difficult to implement based on how our conditional logic works right now so it is something we will definitely look at adding. However, it is too late to fit it into the 1.5 release as we currently have a feature freeze as it's int he final stages of development before it is released via automatic upgrade.

    Posted 13 years ago on Monday February 21, 2011 | Permalink
  3. I'll second this request! We are working on a form where a user supplies reference information. There might be one reference or there might be 50. It would be great to have the same "+" "-" buttons that you have when creating select boxes in the GF admin.

    Posted 13 years ago on Tuesday April 12, 2011 | Permalink
  4. mark.dillon
    Member

    +1 for this request. Thank you!

    Posted 13 years ago on Thursday June 30, 2011 | Permalink
  5. This would be great. I'm currently implementing a field to work against a number between 1 and thirty. This logic would be much simpler to just say "x field" > 1. Is it possible for me to tweak this in the XML?

    Posted 13 years ago on Thursday July 28, 2011 | Permalink