Form Builder 0.3 - Specified values now return 'Array'

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
jimmyb
Forum Members
Forum Members
Posts: 35
Joined: Wed Sep 20, 2006 12:40 pm

Form Builder 0.3 - Specified values now return 'Array'

Post by jimmyb »

Hi Calguy

Just upgraded to the most recent From Builder 0.3 but it seems to have caused problems in one of my forms.

I have been specifying values in the module tag to pre-populate fields with certain values.

eg.

Code: Select all

{cms_module module='FormBuilder' form=form1' value_name='John Smith'} 
This was working fine in the last release but now, when the email is sent through, the data returned from the pr-populated fields is simply 'Array'

Can you shed any light on what is happening?

Many thanks
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Form Builder 0.3 - Specified values now return 'Array'

Post by calguy1000 »

_SjG_ recently did some extensive work on formbuilder, so maybe something got introduced in the last version.

Is it possible for you to send me (via an email) an xml copy of your form so that I can try it out.  I'll of course change the email address to something that I can read :)
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
jimmyb
Forum Members
Forum Members
Posts: 35
Joined: Wed Sep 20, 2006 12:40 pm

Re: Form Builder 0.3 - Specified values now return 'Array'

Post by jimmyb »

Sent to your hotmail address Calguy, hope that's the right one!!
iNSiPiD

Re: Form Builder 0.3 - Specified values now return 'Array'

Post by iNSiPiD »

I seem to be getting 0 (zero) passed for any multi-value form field when using the auto-generated templates.

How can I get print the actual values of the array in human readable form for end users?? I had hoped the whole array would get printed as a comma-delimited string.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Form Builder 0.3 - Specified values now return 'Array'

Post by Dr.CSS »

Sometimes I've seen nothing or array when using {$message}  instead of  {$fld_6}, of course yours maybe different but you get the idea...
iNSiPiD

Re: Form Builder 0.3 - Specified values now return 'Array'

Post by iNSiPiD »

I recall it from yonks ago but hadn't played with FB so long that I forgot about it.

The generated filed names or ID_## values work as expected. Doing a {$get_template_vars} provides some very interesting data though! Most surprising is that the aliases work fine when called via this method.

Looks like a bug, Dr C., as reported in another post. I believe _SjG_ is on the case.
mox
Forum Members
Forum Members
Posts: 113
Joined: Wed Feb 08, 2006 2:32 pm

Re: Form Builder 0.3 - Specified values now return 'Array'

Post by mox »

Hummm,
and the trick to bypass the problem?
In FormBrowser, the email data is displayed correctly, in the email I receive from FormBuilder through Send to: field, returns Array

regards
MoX
Post Reply

Return to “Modules/Add-Ons”