Page 1 of 1

[SOLVED] Formbuilder 0.7 not working with CMSMS 1.9.4.2

Posted: Fri Sep 09, 2011 10:29 pm
by jbx1
I have a fresh install of CMSMS version 1.9.4.2 "Faanui"

I installed the FormBuilder 0.7 and FormBrowser 0.4 modules, from the module manager itself and all went fine. CMSMailer also works and I confirmed it with the test email.

I am now trying to use the form builder to create a contact form, and I used the simple one that comes with the default FormBuilder install.

I am trying to get this to work but when I submit the form it just redirects back to the form, with the fields empty. No error message is displayed, even though 'Hide Errors' is switched off. I also tried to submit the form with empty data and no error is displayed even though the fields are compulsory.

I did not touch anything in .htaccess or anything of that sort, it is the default stuff CMSMS installed.

What could be wrong? ???

Thanks.

Re: Formbuilder 0.7 not working with CMSMS 1.9.4.2

Posted: Sat Sep 10, 2011 5:51 am
by staartmees
did you fill out an emailaddress and did you create a e-mail template in the file 'Send to'?

Re: Formbuilder 0.7 not working with CMSMS 1.9.4.2

Posted: Sat Sep 10, 2011 5:46 pm
by jbx1
Yes. I filled the email address and also the from email, and put the email template in the advanced tab of the Send To. I have the following email template:

{$your_name} <{$your_email_address}> has sent the following message on {$sub_date} from {$sub_source_ip}.

Subject: {$subject}

Message: {$message}

Can't understand what else could be wrong...

Re: Formbuilder 0.7 not working with CMSMS 1.9.4.2

Posted: Sat Sep 10, 2011 6:17 pm
by staartmees
try a standard generated template.If it works, there's a problem with your template

Re: Formbuilder 0.7 not working with CMSMS 1.9.4.2

Posted: Sun Sep 11, 2011 7:53 am
by jbx1
I changed the email template to a default generated one by pressing "Create Sample Template" but the problem remained the same.

I read somewhere in this forum that this could be related to .htaccess and URL extensions. I never touched that file, I have the default .htaccess that CMSMS creates on installation.

Is there any way to view a log of what the module is trying to do? Just seeing a redirection to the same form is not really helpful to troubleshoot.

Re: Formbuilder 0.7 not working with CMSMS 1.9.4.2

Posted: Fri Sep 16, 2011 8:09 pm
by jbx1
Can anyone indicate how I can troubleshoot this issue please?

[SOLVED] Re: Formbuilder 0.7 not working with CMSMS 1.9.4.2

Posted: Fri Sep 16, 2011 9:08 pm
by jbx1
For those of you who encounter a similar problem, I found that my template didn't have a

Code: Select all

{content}
tag. You still need to have it even though you have the

Code: Select all

{FormBuilder ...}
tag.

Its something trivial but logically you might not think you need it.

FormBuilder actually puts the messages after the form is submitted in the {content} tag, even if it doesn't seem to be documented (or I didn't find it).