Page 1 of 1

Form Builder data not saved in ListIt2 module

Posted: Wed Jun 04, 2014 6:18 pm
by slabbe
Hi,

I get an issue with Form Builder and ListIt2. I created a form with form builder and an new instance of ListIt2. I try to save the content of my form in my ListIt2 instance and it doesn't work. I can succesfully send the form without error but nothing is saved in ListIt2... Got no error in my apache log too... I'm a bit lost with that right now...

All the fields aliases are the same than the listit2 fields alias... Tried the IDC solution using the UDT instead of ListIt2, same thing, nothing is saved...

Here's my config

----------------------------------------------
Cms Version: 1.11.10
Installed Modules:
CMSMailer: 5.2.2
FileManager: 1.4.4
MenuManager: 1.8.6
ModuleManager: 1.5.5
News: 2.14.2
Printing: 1.1.2
Search: 1.7.11
ThemeManager: 1.1.8
TinyMCE: 2.9.12
Jobs: 1.0
CGExtensions: 1.38.10
CGFeedMaker: 1.0.20
DownloadManager: 1.5.3
FormBuilder: 0.7.4
FormBrowser: 0.4.2
Gallery: 1.6.1
ModuleXtender: 1.10.6
JQueryTools: 1.2.6
CGSimpleSmarty: 1.7.3
Skeleton: 1.8.1
SiteMapMadeSimple: 1.2.8
AjaxMadeSimple: 0.4.0
CompanyDirectory: 1.22.1
CGCalendar: 1.14
SystemInfo: 1.0
CGFBApp: 1.0.9
CMSPrinting: 1.0.5
MicroTiny: 1.2.6
ImagePicker: 0.3
CGGoogleMaps: 2.4.7
phpids: 1.4.7
Transport: 1.5.2
SimpleSiteInfo: 2.0
SimpleSiteMgr: 2.0
Banners: 2.6.1
CustomGS: 2.0
CGSmartImage: 1.16.2
CGBlog: 1.12.1
XMLMadeSimple: 1.0.2
CMSSimplepie: 1.0
ListIt2: 1.4.1
ListIt2Transport: 1.4.1
ListIt2Emplois: 1.4.1
FAQ: 1.0.1
ListIt2LiensUtiles: 1.4.1
Revisions: 1.0-Beta2
ListIt2Radio: 1.4.1
FrontEndUsers: 1.23.4
SelfRegistration: 1.8.2
CustomContent: 1.10
CGUserDirectory: 1.4.5
ListIt2commandites: 1.4.1
ToolBox: 1.3.8
ListIt2FEEdit: 1.1

Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 15000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale: fr_CA.UTF-8
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:
phpversion: 5.3.10-1ubuntu3.6
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 60
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 15M
upload_max_filesize: 15M
session_save_path: /var/lib/php5 (1733)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)

Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.5.29
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found

----------------------------------------------

Re: Form Builder data not saved in ListIt2 module

Posted: Thu Jun 05, 2014 10:33 am
by velden
Small hint: downgrade to 0.7.3 as developer has withdrawn 0.7.4 because of bugs.

If that does not help, search forum for 'Formbuilder' in topic title. A few topics exist about this subject.

Re: Form Builder data not saved in ListIt2 module

Posted: Thu Jun 05, 2014 4:03 pm
by slabbe
I tried but unfortunaly it doesn't work...
It works if I user FormBrowser but it only store half of the form content...

Re: Form Builder data not saved in ListIt2 module

Posted: Fri Jun 06, 2014 9:10 am
by psy
Stikki's FB to LI2 save is a great solution however FB, regardless of version, has some quirks and Stikki's FB save feature does not cover all scenarios. Neither does ListIt2FEEdit which I see you have installed.

Firstly, what type of fields are you trying to save to your custom LI2 instance?

Do the field types match between FB and LI2?

Have you checked what is being posted? If not, create a form disposition UDT to print out the form's submitted params ($_POST vars) and the variable key. Sometimes FB requires the field id, others the field alias and other times the field's array variable.

More info needed before suggesting how to fix.

Re: Form Builder data not saved in ListIt2 module

Posted: Fri Jun 06, 2014 1:07 pm
by slabbe
It's mostly Text Input field, a few textarea, 1 radio and 3 hiddens... I'll do what you've suggested and we'll see...

Re: Form Builder data not saved in ListIt2 module

Posted: Mon Jun 16, 2014 8:27 pm
by slabbe
psy wrote:Stikki's FB to LI2 save is a great solution however FB, regardless of version, has some quirks and Stikki's FB save feature does not cover all scenarios. Neither does ListIt2FEEdit which I see you have installed.

Firstly, what type of fields are you trying to save to your custom LI2 instance?

Do the field types match between FB and LI2?

Have you checked what is being posted? If not, create a form disposition UDT to print out the form's submitted params ($_POST vars) and the variable key. Sometimes FB requires the field id, others the field alias and other times the field's array variable.

More info needed before suggesting how to fix.

Here's is the output of the form...

Code: Select all

Array ( [nom_de_l_organisme] => Ceci est un test [fld_85] => Ceci est un test [orgName] => Ceci est un test [type_de_l_organisme] => Non-lucrative [fld_97] => Non-lucrative [orgType] => Non-lucrative [nom_du_projet] => Fête de quartier [fld_84] => Fête de quartier [projectName] => Fête de quartier [responsable_du_dossier] => Sebastien Labbe [fld_86] => Sebastien Labbe [dossierResponsable] => Sebastien Labbe [courriel] => slabbe@gmail.com [fld_87] => slabbe@gmail.com [site_web_du_projet] => aucun [fld_88] => aucun [projectWebsite] => aucun [lieu_de_l___v__nement] => Ottawa [fld_89] => Ottawa [evenementPlace] => Ottawa [date_et_heure_de_l___v_] => 24 avril 2015, 19h [fld_99] => 24 avril 2015, 19h [dateHeureEvenement] => 24 avril 2015, 19h [nombre_de_personnes_pr_] => 100 [fld_91] => 100 [nombreAttendu] => 100 [client__le_cibl__e_] => Résidents [fld_92] => Résidents [clienteleCiblee] => Résidents [objectif_du_projet] => 1 [fld_93] => 1 [objectifProjet] => 1 [est_ce_que_le_projet] => non [fld_94] => non [initiativeFinancement] => non [appui_demand__e] => [fld_109] => [financier__sp__cifiez] => 500 [fld_110] => 500 [financier] => 500 [service] => aucun [fld_111] => aucun [services] => aucun [appui_logistique] => aucun [fld_112] => aucun [logistique] => aucun [autre] => aucun [fld_113] => aucun [budget_total_du_projet] => 5000 [fld_114] => 5000 [dur__e_de_l_engagement] => 1 jour [fld_115] => 1 jour [dur_e_de_l_engagement] => 1 jour [point_a] => [fld_96] => [de_quelle_fa__on_est_ce] => 1 [fld_100] => 1 [q1] => 1 [point_b] => [fld_101] => [fld_102] => 1 [q2] => 1 [point_c] => [fld_103] => [en_appuyant_votre] => 1 [fld_104] => 1 [q3] => 1 [point_d] => [fld_105] => [fld_106] => 1 [q4] => 1 [statusproject] => En traitement [fld_108] => En traitement [handle_disposition] => [fld_118] => )