Forums

limit on no of fields in chronoforms?

jesskung 07 Jun, 2012
Hi

I had just downloaded chronoforms v4 and is using it with joomla 2.5.4.

We had created a multi page form with 4 steps.

In step 1 total fields is 26 and 10 elements (actions).

In step 2 total fields is 8 (6 uploads) and 5 elements.

In step 3 is just a preview of previous page data.

Step 4 is a confirmation thank you page.

The form is working fine. The system manages to save the data to the mysql and the image files to the server (JPGs).

We encountered problem when adding more fields. The system redirect me to the administrator home page without any eror when I add a new field in the step 2 form.

Any help is much appreciated.

Thanks & I look forward to hearing from you.

best regards
Jessica
GreyHead 07 Jun, 2012
Hi jesskung,

This is most likely because of security settings on your server. If suhosin is running then these three settings need to be at least 1,000 (possibly 2,000 if you use large forms).

suhosin.get.max_vars
suhosin.post.max_vars
suhosin.request.max_vars

Bob
jesskung 07 Jun, 2012
Hi Bob

many thanks for your prompt help!

However, I am running joomla 2.5.4 on my laptop, running Windows XP. Suhosin is not configured in my PHP environment.

Is there any other configurations that may help?

I would be much obliged if you can help out.

thks & rgds,
Jessica
GreyHead 07 Jun, 2012
Hi Jessica,

I can only suggest that you check the server log. There are no limits built in to ChronoForms so there is an error of some kind that is preventing the admin from from saving correctly.

Bob
jesskung 08 Jun, 2012
Hi Bob

many thanks for your help again.

The issue is resolved by changing max_input_vars to 2000 in the php.ini file. Default value was not configured in XP but in my fedora 16 server, it was set to 1000.

best regards
Jessica
GreyHead 08 Jun, 2012
Hi Jessica,

Thank you. I hadn't seen that particular limit before.

Bob
This topic is locked and no more replies can be posted.