<![CDATA[ FormitFastPack - a FormIt helper component to optimize/ maintain/ generate forms - My Forums]]> https://forums.modx.com/thread/?thread=32612 <![CDATA[Re: FormitFastPack - a FormIt helper component to optimize/ maintain/ generate forms]]> https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=5#dis-post-536281 Quote from: isaacn at Mar 13, 2015, 09:24 PM
I've submitted a pull request on GitHub to allow for array fields like checkboxes to have multiple values as defaults here:

https://github.com/yoleg/FormitFastPack/pull/7

It'd be great if that could get merged at some point!

Thanks. I have noticed several bugs relating to checkboxes, and I have put on my todo list to rewrite the checkbox handling completely.]]>
yoleg Dec 23, 2015, 01:46 PM https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=5#dis-post-536281
<![CDATA[Re: FormitFastPack - a FormIt helper component to optimize/ maintain/ generate forms]]> https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=5#dis-post-536280 Quote from: jonleverrier at Nov 29, 2015, 11:28 PM
Hi @Oleg - could you take a look at:
http://forums.modx.com/thread/98941/formz-formitfastpack-formit-error-placeholders-not-set#dis-post-534975

And confirm wether its FormitFastPack causing problems?

Thanks for letting me know. I replied that it looks like a caching issue and am waiting for confirmation.]]>
yoleg Dec 23, 2015, 01:26 PM https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=5#dis-post-536280
<![CDATA[Re: FormitFastPack - a FormIt helper component to optimize/ maintain/ generate forms]]> https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=5#dis-post-534976 http://forums.modx.com/thread/98941/formz-formitfastpack-formit-error-placeholders-not-set#dis-post-534975

And confirm wether its FormitFastPack causing problems?]]>
jonleverrier Nov 29, 2015, 05:28 PM https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=5#dis-post-534976
<![CDATA[Re: FormitFastPack - a FormIt helper component to optimize/ maintain/ generate forms]]> https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=4#dis-post-522504
https://github.com/yoleg/FormitFastPack/pull/7

It'd be great if that could get merged at some point!]]>
isaacn Mar 13, 2015, 04:24 PM https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=4#dis-post-522504
<![CDATA[Re: FormitFastPack - a FormIt helper component to optimize/ maintain/ generate forms]]> https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=4#dis-post-506032
...
<label for="[[+name]]" title="[[+name:replace=`_== `:ucwords]]">
[[+label:default=`[[+name:replace=`_== `:ucwords]]`]][[+req:notempty=` *`]]
[[+inner_html]]
</label>
...


To explain, the chunk-processing order is as follows:

  1. Options (if any) are processed and placed into [[+options_html]] placeholder
    * Generated from: the chunk specified by &tpl (default=fieldTypesTpl), if any, or the override by &options_html, &options_element* params
  2. The input is processed and placed into the [[+input_html]] placeholder
    * Generated from: the chunk specified by &tpl (default=fieldTypesTpl), if any, or the override by &inner_html, &inner_element* params
  3. The final output is processed
    * Generated from: the chunk specified by &outer_tpl (default=fieldWrapTpl), if any
]]>
yoleg Aug 08, 2014, 10:16 PM https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=4#dis-post-506032
<![CDATA[Re: FormitFastPack - a FormIt helper component to optimize/ maintain/ generate forms]]> https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=4#dis-post-505769 Quote from: yoleg at Aug 07, 2014, 12:51 PM
@mdehaan: Can you attach your fieldWrapTpl and fieldTypesTpl and post the call to your field snippet?

Here you are.
Thanx for looking into it.]]>
mdehaan Aug 07, 2014, 10:10 AM https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=4#dis-post-505769
<![CDATA[Re: FormitFastPack - a FormIt helper component to optimize/ maintain/ generate forms]]> https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=4#dis-post-505754 yoleg Aug 07, 2014, 07:51 AM https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=4#dis-post-505754 <![CDATA[Re: FormitFastPack - a FormIt helper component to optimize/ maintain/ generate forms]]> https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=4#dis-post-505651
I would like this:
<label>
<input>
Option one
</label>

But it alway's outputs this:
<input>
<label>
Option one
</label>

I tried to make this work by changing the fieldWrapTpl and fieldTypesTpl.
Can you help me out?

Thanx in advance!]]>
mdehaan Aug 06, 2014, 03:38 AM https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=4#dis-post-505651
<![CDATA[Re: FormitFastPack - a FormIt helper component to optimize/ maintain/ generate forms]]> https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=4#dis-post-493324 http://rtfm.modx.com/extras/revo/formitfastpack/]]> yoleg Mar 22, 2014, 08:10 PM https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=4#dis-post-493324 <![CDATA[Re: FormitFastPack - a FormIt helper component to optimize/ maintain/ generate forms]]> https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=4#dis-post-479242
When I tested Formz on a new install of MODX 2.2.9-pl, it worked fine for me.

What fields do you have configured in Formz? What settings do you have configured in Formz?

Please try creating a new Formz form (with all default settings) with only one field (with all default settings). Then, call that Formz and see if it works.

Sometimes if elements are nested too deeply, they fail to get processed by MODX, at least in some versions. Try putting the Formz call directly into an empty resource to see if that fixes the issue.]]>
yoleg Oct 01, 2013, 10:06 PM https://forums.modx.com/thread/32612/formitfastpack---a-formit-helper-component-to-optimize-maintain-generate-forms?page=4#dis-post-479242