ChronoForms - Error on Submission

Zaera 04 Oct, 2010
Hello, I am new to the ChronoEngine forums. I apologize in advance if the solution to my problem has been posted in the past, but I have searched through every relevant thread and could not find an answer that would work for me.

I am currently using three ChronoForms on my company's website. Up until recently, they worked perfectly. Now, however, when a user attempts to submit a form, they are presented with the infamous "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" error.

Below is a list of information regarding my forms and what I have already tried to do to repair them:

1. My forms are currently loaded within articles using the ChronoContact Plugin/Mambot ({chronocontact}formname{/chronocontact}). The ChronoContact module is disabled. I have tried disabling the plugin and loading the module within the article, but it produces the same error.

2. I am running the same versions for the component, plugin and module, v3.1.

3. All of the forms and necessary plugins/modules are published.

4. There are no dashes or strange characters within the form names that I am using.

5. I have attempted disabling SEF URLs but the error remains.

6. I have also attempted to create a brand new form with nothing but a single text box and submit button.

An example form can be found at http://www.choicetech.com/services/helpdesk

I greatly enjoy ChronoForms and would love to continue using them, especially since I have people who need to maintain the site that are not versed in web development. I would greatly appreciate any assistance! Thank you!
GreyHead 05 Oct, 2010
Hi Zaera,

I can see a couple of problems here:

A) Your template (or some other component) is loading the jQuery JavaScript library and that is causing the form validation to fail.

B) There is a problem somewhere with the SEF URLs or with redirection. The page is being redirected with a '303 See Other' status code and after this ChronoForms isn't recognising the url. I don't know much about redirection but I suspect that the 303 switches from POST to GET??

Bob

JQuery: Out of the box jQuery isn't compatible with the MooTools library used by Joomla! and ChronoForms. You can use jQuery with MooTools in no-conflict mode. There are various ways of doing this. The simplest is to add a line of script in the ChronoForms Form JavaScript box:
jQuery.noConflict();
This will free the $ operator which is used by MooTools, so you may need to update your own javascripts to use the longer jQuery operator.

There is also a neat Joomla! system plugin named SC jQuery that allows you to control on which pages jQuery is loaded, and will always load it in no-conflict mode.
nicolaf 08 Oct, 2010
I am having the same problem. On submission of my form I receive a 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 ".
The form URL is http://www.weddingflowersinmaleny.com.au/index.php?option=com_chronocontact&Itemid=111

I have used chronoforms in 3 or 4 sites so far with no problems, so am not sure why it is no longer working?

I have put the recommended jQuery.noConflict(); into the form javascript field, but it made no difference.

I am going to have to unpublish the page from the website's navigation until this is fixed, but will leave the form published of course.
Please let me know if you would like access to the site.
Regards, Nicola
nicolaf 08 Oct, 2010
I have fixed my issue. It was the form name.

The documentation says that it is ok to use a dash in the form name, but my form name was also reasonably long, so I'm not sure if it was the dash or the length, but I changed it and it is working fine now.
OLD FORM NAME: consultation-request
NEW FORM NAME: consultation

Hope this helps some of you others.
Regards
Nicola
GreyHead 08 Oct, 2010
Hi Nicola,

It's definitely **not** OK to use a dash in a form name or in any input name. It causes problems with saving in the database.

If the docs say it is OK please let me know where and I'll put a correction in.

Bob
nicolaf 08 Oct, 2010
Hi Bob,
This is where the documentation says dash is ok to use...
ChronoForms v3.0 Tutorials #2 Create a simple form in ChronoForms. Page 9, section "Give your form a name". States "This will be used in the form url so it can have no spaces or special characters (+ _ - are OK)."

Regards
Nicola
GreyHead 09 Oct, 2010
Hi Nicola,

Many thanks, I've created an updated version but unfortunately I can't upload it to the site. I'll see if Max can do that for me.

Bob
This topic is locked and no more replies can be posted.