Page 1 of 1
Form Builder 0.3 - Specified values now return 'Array'
Posted: Wed Jun 20, 2007 12:49 pm
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
Re: Form Builder 0.3 - Specified values now return 'Array'
Posted: Wed Jun 20, 2007 7:10 pm
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

Re: Form Builder 0.3 - Specified values now return 'Array'
Posted: Wed Jun 20, 2007 11:09 pm
by jimmyb
Sent to your hotmail address Calguy, hope that's the right one!!
Re: Form Builder 0.3 - Specified values now return 'Array'
Posted: Mon Oct 26, 2009 7:52 am
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.
Re: Form Builder 0.3 - Specified values now return 'Array'
Posted: Tue Oct 27, 2009 12:17 am
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...
Re: Form Builder 0.3 - Specified values now return 'Array'
Posted: Tue Oct 27, 2009 10:09 am
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.
Re: Form Builder 0.3 - Specified values now return 'Array'
Posted: Thu Oct 29, 2009 9:29 am
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