<![CDATA[ mxFormBuilder does not display on page; help? - MODX Community Forums]]> https://forums.modx.com/thread/?thread=99918 <![CDATA[mxFormBuilder does not display on page; help?]]> https://forums.modx.com/thread/99918/mxformbuilder-does-not-display-on-page-help#dis-post-540353
I apologize in advance for posting in an old forum (I see most of the posts here are from a few years ago!) but I thought I would reach out in case we still have any active mxForm users. I'm a ModX newbie so perhaps this is an easy fix!

I am attempting to implement an mxFormBuilder form into a page, but I am unable to get the form to display. Here's a little more info:

Test page in question: http://www.ridgecrestvillage.org/index.php?id=130
Version of ModX I am using: MODX Revolution 2.2.12-pl (traditional)
I am inserting the TV directly into the page content, and have tried using both the cached and non-cached (!) version:

A few things about the form:
* I am using a success message
* None of my fields require basic spam validation

Where am I going wrong?

P.S. I had a few errors pop up when installing the plugin, but thus far haven't had any issues with creating forms. Example part of the log:
PHP warning: preg_match(): Compilation failed: invalid range in character class at offset 38

PHP notice: Array to string conversion


Error saving vehicle object of class modChunk; criteria: Array
    [name] => emailUserTpl

Full error output is attached.

Any help is very appreciated! smiley]]>
cweiser Apr 11, 2016, 03:02 PM https://forums.modx.com/thread/99918/mxformbuilder-does-not-display-on-page-help#dis-post-540353
<![CDATA[Re: mxFormBuilder does not display on page; help?]]> https://forums.modx.com/thread/99918/mxformbuilder-does-not-display-on-page-help#dis-post-540628
[2016-04-12 13:38:43] (ERROR @ /home6/numadgro/public_html/<ClientUrlWithheld>/core/xpdo/validation/xpdovalidator.class.php : 82) PHP warning: preg_match(): Compilation failed: invalid range in character class at offset 38
cweiser Apr 18, 2016, 02:00 PM https://forums.modx.com/thread/99918/mxformbuilder-does-not-display-on-page-help#dis-post-540628
<![CDATA[Re: mxFormBuilder does not display on page; help?]]> https://forums.modx.com/thread/99918/mxformbuilder-does-not-display-on-page-help#dis-post-540625 claytonk Apr 18, 2016, 12:58 PM https://forums.modx.com/thread/99918/mxformbuilder-does-not-display-on-page-help#dis-post-540625 <![CDATA[Re: mxFormBuilder does not display on page; help?]]> https://forums.modx.com/thread/99918/mxformbuilder-does-not-display-on-page-help#dis-post-540623 ]]> cweiser Apr 18, 2016, 12:52 PM https://forums.modx.com/thread/99918/mxformbuilder-does-not-display-on-page-help#dis-post-540623 <![CDATA[Re: mxFormBuilder does not display on page; help?]]> https://forums.modx.com/thread/99918/mxformbuilder-does-not-display-on-page-help#dis-post-540621 claytonk Apr 18, 2016, 12:31 PM https://forums.modx.com/thread/99918/mxformbuilder-does-not-display-on-page-help#dis-post-540621 <![CDATA[Re: mxFormBuilder does not display on page; help?]]> https://forums.modx.com/thread/99918/mxformbuilder-does-not-display-on-page-help#dis-post-540619
Thank you for your reply. I couldn't remember if I had left both in there for demo purposes, but I went ahead and tried your suggestion. Unfortunately, having a single snippet with a bespoke ID still does not show the form:

[[!mxfb? &formid=`1` ]]

The form ID is definitely "1"; the mxFormBuilder page lists [[mxfb?&formid=`1`]], which I also tried without the leading exclamation point. Any other ideas?]]>
cweiser Apr 18, 2016, 11:39 AM https://forums.modx.com/thread/99918/mxformbuilder-does-not-display-on-page-help#dis-post-540619
<![CDATA[Re: mxFormBuilder does not display on page; help?]]> https://forums.modx.com/thread/99918/mxformbuilder-does-not-display-on-page-help#dis-post-540554
[[!mxfb? &formid=`[[*mxform]]` ]]

Where [[*mxform]] is the TV defining the ID number for the form. In your case, you're inserting that ID manually into the snippet call:

[[!mxfb? &formid=`1` ]]

That should do it if indeed you have a form created with ID 1. Definitely need to get rid of that second [[!mxfb?]]]]>
claytonk Apr 16, 2016, 09:53 PM https://forums.modx.com/thread/99918/mxformbuilder-does-not-display-on-page-help#dis-post-540554