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.

Repeat a set of questions in one form?

  1. wesleyshaw
    Member

    Apologies if this is an easy questions: I've had a look through the documentation and can't seem to find a way to do this.

    Essentially, what I want to do is this:

    -----------------------------------

    1. Do you have Item A? [yes/no]
    IF SO
    Questions a, b, c, d.

    2. Do you have Item B? [yes/no]
    IF SO
    THE SAME questions (a, b, c, d) as above.

    --------------------------------------

    I've got the hang of conditional formatting, so I have questions a-d hidden unless "yes" is selected for question 1, but I have a bunch of items to ask about, so I'm looking for a way to not re-enter questions a-d for each subsequent item as they're exactly the same questions each time (where did you get it, when did you get it, what do you think of it, etc). This probably sounds lazy, so I should clarify that there are actually about 17 questions of different formats for each of 19 items, so it's going to take hours to enter this all manually.

    Do I need to enter all of them separately? Or is there some way to import/export a set of questions?

    Many thanks. Super happy with GF, by the way.

    Posted 14 years ago on Sunday October 24, 2010 | Permalink
  2. Hi Wesley,

    I'd suggest exporting your form from the GF Import/Export page. After exporting your form, open up the export XML file and you'll see a <fields> node. Inside this node you'll see nodes for each of your forms fields. You can copy your question fields (including the conditional logic!) much more quickly this way.

    After you're done editing your form XML file, you can import the form back into GF. Make sure you keep a backup of your original export file just in case you need it. :)

    Update: One other thing to note; you'll want to make sure you update the field IDs and corresponding conditional logic IDs to keep everything in order. Just increment the field IDs by one for each new field and then change the conditional logic rule field id to the corresponding field that it should be checked against. This will make a lot more sense after you've looked through the XML file. :)

    Posted 14 years ago on Monday October 25, 2010 | Permalink
  3. wesleyshaw
    Member

    Brilliant. I'll have a go at this and let you know if I run into any problems that I can't solve. Sounds very possible, though. Thanks for the help!

    Posted 14 years ago on Monday October 25, 2010 | Permalink
  4. wesleyshaw
    Member

    Finally digging into this, and have one follow-up question: do the field IDs need to be continuous through the whole form? Or can I leave gaps in the numbering?

    I ask because it'd feel safer for me to number all of the IDs I'm manually adding beginning with some arbitrary number, say 500, so I can quickly tell which ones I've added manually if something is broken (everything >500 would be from the original exported version, and everything <500 would be my manual additions). To clarify, this would leave a gap in the field ID numbering series, since I currently have only about 150 field IDs.

    Thanks.

    Posted 14 years ago on Thursday November 18, 2010 | Permalink
  5. The field ids should be in order. So you wouldn't want to leave any gaps or jumps in numbers.

    Posted 14 years ago on Thursday November 18, 2010 | Permalink
  6. wesleyshaw
    Member

    Thanks, Carl. I'll find my largest number and go from there. I'm assuming it doesn't matter if they're not in order on the form itself, right? Because this cutting and pasting is going to create a mess of the original order. Please tell me I don't need to renumber all of them. . . .

    Posted 14 years ago on Thursday November 18, 2010 | Permalink
  7. wesleyshaw
    Member

    Oh, and I should note that I'm testing your beta 1.5 and it's excellent so far. No problems to report and I've been hammering on it pretty hard for the last couple of days.

    Posted 14 years ago on Thursday November 18, 2010 | Permalink
  8. wesleyshaw
    Member

    One more note: as I look through the XML I exported, it appears that I already have gaps in my Field IDs numbering from where I've deleted earlier questions (via the web-interface) when my client indicated certain questions weren't necessary. Is this likely to cause me pain later? The form appears to be working as is, but I'd rather spend the time renumbering everything now if I'll ever need to do it later as it's only going to get more difficult as I continue to refine and expand the form.

    Thanks.

    Posted 14 years ago on Thursday November 18, 2010 | Permalink
  9. I should have clarified my statement, we recommend they be sequential but it isn't required. As long as they are unique it should be fine. Sorry for the confusion.

    Posted 14 years ago on Thursday November 18, 2010 | Permalink
  10. wesleyshaw
    Member

    Thanks for the prompt reply: buying my dev license was a smarter move than I expected.

    Unless you strongly object, I'm going to try leaving some big gaps so that I can group my questions easily (I'm thinking one block of related questions will be the 200 series, the next 300 series, etc): will report back if I have any problems. It's only a test site, so if it goes down, well, it goes down.

    Thanks again. Brilliant plug in you've made.

    Posted 14 years ago on Thursday November 18, 2010 | Permalink