Forums

ChronoForm Functionality

jlane 02 Apr, 2009
So I really like using ChronoForm's it's really straight forward. (Here comes the however part)


The mambot does not seem to be working within articles. I have read all the posts and checked all my settings. I am running the newest version of Joomla and the ChronoForms component. The mambot is enabled and I am placing {chronocontact}form1{/chronocontact} in the article. ( making sure no other tags are in the article <p> ) Any tips or suggestions would be great.


But now for the real question. I have a 'White Paper' that I want to send to the person who is completing the registration form. Example: User clicks on White paper link and he is taken to a page with a registration from. On submit that form gets sent to me and another email with an attachment gets sent to him. Is this possible with Chronoforms?


- J
GreyHead 03 Apr, 2009
Hi Jlane,

Small reassurance but the mambot does work - you seem to have covered all the usual problems. Please double check (sorry) that the Mambot/PlugIn is published, if it is then, if you like email or PM me a SuperAdmin login and I'll take a look.

You can add a fixed attachment by adding the path to the $attachments array in the OnSubmit Before box - I posted the code here yesterday I think. At the moment I don't think that you can have different attachments to the two emails though I expect that will change in a future release.

Bob
jlane 04 Apr, 2009
Okay so I have made little to no progress today...🙂

Joomla 1.5.9

Component - 3.1 RC2 - Enabled
Module Chronocontact 1.2.0 - Enabled
Chronocontact 0.9/V3.1 RC2 - Enabled



I tried to embed a form using the {chronocontact} syntax. But when I linked the article it did not load the form.😟

And in regards to attaching the document to the outgoing email I created this code.

OnSubmit

<?php
$attachments[] = "root/components/com_chronocontact/uploads/Whitepaper1.pdf";
?>

I also tried

<?php
$attachments[] = "/root/components/com_chronocontact/uploads/Whitepaper1.pdf";
?>


Do I need to place some criteria within the email template to get this to attach?


Thanks Again!
jlane 04 Apr, 2009
I just noticed I posted in the Chronocomments sections. Oops

Here is the output from my whitepaper form.


$_POST array: Array ( [txt_name] => John Doe [text_16] => [email]johndoe@gmail.com[/email] [txt_Company] => testcompany[txt_title] => test [select_HowHeard] => [af9286d27d01fe812d53ce0b69b4aec4] => 1 )

$_FILES array: Array ( )


I manually uploaded the file to the upload folder and verified 755 permissions. Maybe I am addressing the location incorrectly? Are there any other params to set to allow for the file to be attached?


- Thanks
GreyHead 04 Apr, 2009
Hi jlane,

I moved this thread over to the ChronoForms forums.

In your file paths, I doubt that you need 'root' in there. The path will be relative to wherever Joomla is installed. There are some Joomla shorthand codes that might be useful. For example JPATH_COMPONENT_SITE will be substituted for the current component folder.

I'm not sure what problem you are having with the ChronoForms Mambot/PlugIn. If you want to email or PM me a SuperAdmin login then I can take a look. The most common problem is that the Mambot/PlugIn is either not installed or not published.

The manual upload should be Ok. As far as I can see you don't have a file upload field in your form.

Bob
MatthewSchenker 04 Apr, 2009
Good Morning,
I am having the same problem as the original poster. All the plugins are installed and enabled, and the form is published.
But when I embed the form using this code:
{chronocontact}formname{/chronocontact}


I get this message:
"There is no form with this name or may be the form is unpublished, Please check the form and the url and the form management"

Can't figure it out.

Thanks,
Matthew
GreyHead 04 Apr, 2009
Hi Matthew,

Please post a link and/or PM or Email me a SuperAdmin login and I'll take a look. It is most likely that something isn't enabled/published.

Bob
daniela 24 Apr, 2009
Hi,

I have the same problem:

I publish an article on the front page and get the result: There is no form with this name or may be the form is unpublished

I check that the name is correct, that the Form is published, the Chronocontact plugin is activated and inside the article there is only: {chronocontact} correzionemarker {/chronocontact}

So there shouldn't be space for any tag jaming.

I'm using:
Joomla 1.5.1
ChronoForms_V3.1_RC4.11.zip
plugin_chronocontact_V3.1_RC4.11.zip

Do you have an idea on what i possibly missed?

I have also installed chrono connectivity could this component interfer with chronocontact?

I nearly red all the forum but didn't find an answer to my problem. Thanks for the help if you can
Daniela
GreyHead 24 Apr, 2009
Hi Daniela,

Does the direct link to the form from the Forms Manager work OK?

Bob
daniela 24 Apr, 2009
yes it is working fine
GreyHead 24 Apr, 2009
Hi Daniela,

Good - so the form is OK.

Try using {chronocontact}correzionemarker{/chronocontact} with no spaces please.

Bob
daniela 24 Apr, 2009
It works!!

Thanks.

I already tried it before but it didn't work. Now i Understand my mystake. I copy the formname from a link and so it was tagged as a link. Sorry for not having saw it before.

But now i have a new problem.

The form is publishing but after, still in the article, there are 50 lines of code like:

.'; eval("if(field.getProperty('title')){fMessage_val_validate_email = field.getProperty('title');}"); eval("cfvalidate_"+field.getProperty('name')+".add( Validate.Email, { failureMessage: fMessage_val_validate_email } );"); } if(field.hasClass('validate-url')){ var fMessage_val_validate_validate_url = 'Please enter a valid URL.'; eval("if(field.getProperty('title')){fMessage_val_validate_validate_url = field.getProperty('title');}");

YOu can have a look here: http://green-villages.eu/busispra/
daniela 24 Apr, 2009
But i will look on the forum, i think i saw that problem somwhere

Thanks again for the help I was becoming crazy
Daniela
GreyHead 24 Apr, 2009
Hi Daniela,

That's the problem with the email cloaking plugin trying to cloak the sample email address. Switch the order of the two plugins round.

Bob
daniela 24 Apr, 2009
ok thanks very much
Daniela
This topic is locked and no more replies can be posted.