I will look into this. Probably would be an easy switch. I also have been pondering this move.
Some suggestions:
A killer feature would be to be able to set radio, checkboxes and lists the default selected item (selected="selected" or checked="checked"). - Something along that would be also be able to disable a field ( disabled="disabled"), but don’t know if that makes sense.
That brings me to the next killer feature. Can you make it so, that whatever type is selected, the options change according to that type. for example a text type would not display the options field. etc.
What about maxlength of a field?
I’ve looked at the generated tables. Why is the collation set to "latin1_swedish_ci" and not "utf8_general_ci" like the database default? Would that somehow be possible to change via the module sql script?
New Release Today RC4
Added maxlength for text and textarea fields.
-maxlength can be used to set the textarea cols and rows (example 28|10)
Now able to set radio, checkboxes and lists the default selected item (selected="selected" or checked="checked")
When I run the module I receive the following errors:
Warning: include_once(../assets/modules/formbuilder/inc/lang/english.inc.php) [function.include-once]: failed to open stream: No such file or directory in /home/user/public_html/manager/processors/execute_module.processor.php(114) : eval()’d code on line 32
Warning: include_once() [function.include]: Failed opening ’../assets/modules/formbuilder/inc/lang/english.inc.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php:/home/user/public_html/manager/includes/’) in /home/user/public_html/manager/processors/execute_module.processor.php(114) : eval()’d code on line 32
What would cause this? I triple checked the instructions, I triple checked the paths. I’m not familiar with modules either (this is my very first one) am I supposed to link the function.php as a dependency, so I link the snippets as well?
I am running rc4 and I noticed a call to function.php in your readme instructions you said to create a resource called functions.php with the letter S on the end. So I changed my resource to function.php to match the call from the module’s code (I think that’s how it works but I just learning php so I don’t know). Just as an FYI, it maybe unrelated I was just trying to figure out the problem on my own, but I’ve tried everything including deleting module and reinstalling.
I truly appreciate your efforts and I’m excited to get this working as it’s exactly what I need to allow users to create and tweak forms.
Again forgive me if the solution is obvious as I’m very much a Modx, php, mysql newbie (but I’m reading and learning)
New Release scheduled for this week.
Includes jquery sortable fields
Bug fixes:
Hidden fields are now working
Cleaned up code
JSON bug fixed