Skip Navigation

[Resolved] User Custom SELECT Field Automatically Deletes/Truncates Added Options

This thread is resolved. Here is a description of the problem and solution.

Problem:
User Custom SELECT Field Automatically Deletes/Truncates Added Options

Solution:
Please increase value of php.ini setting for "max_input_vars" to 3000 and try to resolve your issue.
=> http://stackoverflow.com/questions/10303714/php-max-input-vars

You can find the proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/user-custom-select-field-automatically-deletes-truncates-added-options/#post-1208364

Relevant Documentation:

This support ticket is created 5 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by nedG 5 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#1208046
User-Select-before.jpg
User-Select-after.jpg

I am creating a Membership Site.

I have created quite a few Custom User Fields in a group.

One of the Custom User Fields that I am creating is a SELECT Field for all 50 states in the US.

Initially I only had 1 state in the Select Field. I added a few users to the DB utilizing the CRED Forms that I created and everything seemed OK.

Then I realized that I had forgotten the other 49 states in the Select Field, so I went into the Custom User Fields Group and added the other 49 states into the Select Field.

When I clicked the "Save Field Group" button, I realized that the Select Field only had 6 Options for the states. No matter what I do, I cannot add more options. If I attempt to add more, the additional Select Options get deleted after I click the "Save Field Group" .

I Deactivated all other plugins and it is still happening. No errors are appearing and no DEBUG information appears in the error log.

One more additional piece of information... if the Select Field is "dragged" higher in the order of all of the Custom User fields (ie.. dragged toward the top of the order), if I click the "Save Field Group" it deletes not only the added Options in the Select field, but it also deletes all other Custom User Fields that come after the Select Field.

#1208364

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - at first sight, it certainly looks like the issue of server configuration issue.

Could you please increase value of <strorng> php.ini </strog> setting for "max_input_vars" to 3000 and try to resolve your issue.
=> http://stackoverflow.com/questions/10303714/php-max-input-vars

You may need to contact your website hosting company to change this for you and then check the issue if it is resolved.

#1208565

My issue is resolved now. Thank you!