Form builder example select list does not allow more than 10 items on the list
jflash09 - October 29, 2009 - 19:02
| Project: | Form Builder |
| Version: | 6.x-0.6 |
| Component: | Form Builder Core |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Not sure if this is the way it is designed or not because I can not find any documentation on the select list for form builder. I added a select list in the form builder example and tried to put more than 10 items on the list and it gave me the error message that only 10 options were allowed.

#1
I found the problem. In the sites/all/modules/form_builder/includes directory in the module form_builder.properties.inc on line 134 change the limit to 100. This is a quick and dirty solution.
Now the real problem is that in the sites/all/modules/form_builder/options_element directory in the module options_element.module the function options_element_elements is never called. This function is supposed to set the limit to 100.
#2
10 is just the default, you can set this to any higher number when you prepare the form for editing. It's hard to tell what you're using Form Builder for. Are you just using the demo or are you implementing it for some other purpose?
#3
I am using the form builder example and the problem below refers to the code called from the form builder example.
Now the real problem is that in the sites/all/modules/form_builder/options_element directory in the module options_element.module the function options_element_elements is never called. This function is supposed to set the limit to 100.
I got around that problem by going back to the original form builder code and doing this:
I found the problem. In the sites/all/modules/form_builder/includes directory in the module form_builder.properties.inc on line 134 change the limit to 100. This is a quick and dirty solution.