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.

Limit in fields number?

  1. Hi, I'm trying to import a xml form with 2220 fields. Import says "everything ok" but when I try to preview the module, it get corrupted since first field and then stops.
    Regards

    Posted 11 years ago on Tuesday January 22, 2013 | Permalink
  2. David Peralty

    I'm assuming you created this XML file yourself somehow?

    Posted 11 years ago on Tuesday January 22, 2013 | Permalink
  3. Hi David. Yes. When I create the XML with same rules but less fields (let's say... 900) it works like a charm. Maybe is there any limit in the number of Conditional Logic rules I can add for each Field?
    Here my not working XML: https://dl.dropbox.com/u/7678116/Volantini.xml

    Kind regards

    Posted 11 years ago on Tuesday January 22, 2013 | Permalink
  4. Please anybody can help me or suggest a way to investigate?

    Posted 11 years ago on Wednesday January 23, 2013 | Permalink
  5. Sounds like a resource problem. How much RAM is available to PHP and WordPress on this site? Can you get a phpinfo output for us?

    Posted 11 years ago on Wednesday January 23, 2013 | Permalink
  6. Thanks Chris. Here's my phpinfo output:

    http://pastie.org/private/u0ygzfhldpcmk0al8votyw

    Kind regards

    Posted 11 years ago on Wednesday January 23, 2013 | Permalink
  7. Looks like you have 64M of RAM which *should* be enough. Is there a possibility of raising it?

    Can you turn on WP_DEBUG and see if any errors are shown or logged? Or do you have access to PHP or Apache error logs to see if anything is logged there?

    Posted 11 years ago on Wednesday January 23, 2013 | Permalink
  8. When you say "preview the module" do you mean preview the form from the form builder?

    If you embed the form in a Page, can you view it there?

    If you have a lot of conditional logic rules, I think the limitation on processing them is client side, in the browser with JavaScript. Can you embed the form in a Page and share the link with us so we can see what happens?

    Posted 11 years ago on Wednesday January 23, 2013 | Permalink
  9. Thanks Chirs. Here a massive form imported without errors, but not working: http://goo.gl/izwK1
    (xml source code is in a former message).

    Now I'm going to turn on WP_DEBUG :)

    Posted 11 years ago on Wednesday January 23, 2013 | Permalink
  10. I see the XML now; sorry, I was not looking for that the first time around.

    I will ask the development team about this one and update the topic when I have an update.

    Posted 11 years ago on Thursday January 24, 2013 | Permalink
  11. Thank you Chris!
    Warm regards.

    Posted 11 years ago on Thursday January 24, 2013 | Permalink
  12. @zenyth,
    We can try getting this import to work, but I am gonna be honest with you. Having a form with that many fields and a lot of conditional logic is not a good idea and you will have problems down the road. I would suggest that you take another approach to this. If you can try explaining what you are trying to do, we can try coming up with a more efficient way to get this done that doesn't involve a monster form that will give you headaches at every corner.

    Posted 11 years ago on Thursday January 24, 2013 | Permalink
  13. Thanks Alex. We'll try to reduce number of select fields, but it's not easy since logical conditions can be only "ALL" or "NONE". It would be much easier with "OR" conditions, and even more with some complex rules with parentheses... something like IF (((condition1 IS TRUE) AND (contition2 IS FALSE)) AND (condition3 is TRUE))
    Kind regards

    Posted 11 years ago on Monday January 28, 2013 | Permalink