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
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
I'm assuming you created this XML file yourself somehow?
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
Please anybody can help me or suggest a way to investigate?
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?
Thanks Chris. Here's my phpinfo output:
http://pastie.org/private/u0ygzfhldpcmk0al8votyw
Kind regards
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?
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?
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 :)
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.
Thank you Chris!
Warm regards.
@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.
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