Forums

Error: Name of the form does not exist

dakke 26 Sep, 2008
"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 "

I try to link a menu item to a form using joomla 1.57

I am positive that the name exists, and that it is enabled.
Using the link as shown on the form does work index.php?option=com_chronocontact&chronoformname=MyForm
but when go through the menu item it only does the following: index.php?option=com_chronocontact

What do I do wrong?

Additionally I could not install the plg package (not an xml file included).
Max_admin 26 Sep, 2008
Hi dakke,

#1- of which type is this menu item ? is it from type chronoforms ? do you add the fromname at the right side while creating the menu item then ?
#2- which plugin you are trying to install ? please don't mix between joomla plugins and chronoforms plugins!

regards

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 26 Sep, 2008
Hi dakke,

is this V3.0 stable ? please got to the menu and click new, then select "chrono forms" from the list and hit next and then write the menu title and write the form name on the right side parameters and save!

this is a chronoforms plugin to be installed with FTP, not the joomla installer, the chronoforms "joomla" plugin is under the folder mambots!

Regards

max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
dakke 26 Sep, 2008
It is indeed 3 stable.

I did write the form name on the right side, but does not work. Is it allowed to have capitals as in 'MyForm'?

Do I need the plugin to let it work?
dakke 26 Sep, 2008
I am also not able to upload the example form.
error:
Restoring the whole form failed Failed, error : Unknown column 'extraemail' in 'field list' SQL=INSERT INTO jos_chrono_contact (id,name,html,scriptcode,redirecturl,emailresults,extraemail,emailsubject,onsubmitcode,onsubmitcodeb4,attformtag,submiturl,emailtemplate,paramsall,titlesall,autogenerated,published) VALUES ('','test_form','Name:
E-mail:
','','','2','admin@example.com','ChronoForms test','','','','','','ccemail= bccemail= formmethod=post omittedfields= recip=Yes from_email=admin@example.com from_name=Admin replyto_email=admin@example.com replyto_name=Admin email_type=1 debug=1 mysql_type=1 enmambots=No emailfield= subjectfield= ccfield= bccfield= fromemailfield= fromnamefield= uploads=No uploadfields= uploadmax= uploadmin= dvfields= imagever=No validate=No val_required= val_validate_number= val_validate_digits= val_validate_alpha= val_validate_alphanum= val_validate_date= val_validate_email= val_validate_url= val_validate_date_au= val_validate_currency_dollar= val_validate_selection= val_validate_one_required=','','','0')


I might have some issues with my upgrade to 1.5.7, I will check
dakke 26 Sep, 2008
Much apologies. It was an issue with the actual menu.

I use a menu that is not really a stable versions let's say. It looks good but does not work really smoothly. So I tried to move the menu to another menu system, I suddenly realized that there might be a problem with the menu instead of the component.
Adding the menu item to a standard menu did work! Problem solved and nothing to do with your component.
Max_admin 26 Sep, 2008
No problems, I was going to tell you that the link you get through the menu doesn't have itemid at the end and this is of course wrong!

the V2.x forms will not get restored on V3.x

there is a test form for V3.0 stable here somewhere on forums, the file is called TEST.zip to try!

regards

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
udaydahale 02 Apr, 2010
Sir,

form is working in firefox but in ie there is an issue

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

plz reply me sir

my form code is
<table width="600" cellspacing="5" cellpadding="5">
  <tr>
    <td>Name* :</td>
    <td><input class="cf_inputbox required validate-alpha" maxlength="20" size="30"  name="name" type="text">
  </td>
  </tr>
  <tr>
    <td>Email* :</td>
    <td>   
    <input class="cf_inputbox required validate-email" maxlength="30" size="30" name="email" type="text">
    </td>
  </tr>
  <tr>
    <td>Address* :</td>
    <td>
    <input class="cf_inputbox required" maxlength="100" size="30" name="address" type="text">
    </td>
  </tr>
  <tr>
    <td>City* :</td>
    <td><input class="cf_inputbox required" maxlength="15" size="30" name="city" type="text"></td>
    <td></td>
  </tr>
  <tr><td>Phone* :</td>
    <td><input class="cf_inputbox required" maxlength="13" size="13" name="phone" type="text">(Direct landline no.)</td></tr>
  <tr><td>Mobile* :</td>
    <td><input class="cf_inputbox required" maxlength="10" size="10" name="mobile" type="text"></td>
  </tr>


<tr><td>Section to Post* :</td>
    <td>
<?php echo JHTML::_( 'list.section','section_id', '', 'onChange="LoadCats()"') ; ?>
</td></tr>



<tr><td>Category to Post* :</td>
    <td>
<div id="cats_div">
<?php echo JHTML::_('list.category', 'catid', 'id=cats_div'); ?>
</div>
   </td></tr>
  <tr><td>Upload Pictures for your Article:<br  />
     (max 3 images less than 1MB each)</td>
    <td><input type="file" name="upload1" id="upload1" /></td></tr>
  <tr><td></td>
    <td><input type="file" name="upload2" id="upload2" /></td></tr>
  <tr><td></td>
    <td><input type="file" name="upload3" id="upload3" /></td></tr>
  <tr><td>Heading/Title for your article* :</td>
    <td><input class="cf_inputbox required" maxlength="50" size="30" name="title" type="text">
    </td>
     </tr>
  <tr>
    <td>Article* :</td>
    <td><div id="tt">
    <div class="form_element cf_textarea" style="width:600px;">
    <label class="cf_label">Article</label>
    <?php
$editor		=& JFactory::getEditor();
echo $editor->display( 'introtext',  '' , '80%', '350', '55', '20', false ) ;
?>
<br />    Not more than 800 words</div></td></tr>
  <tr>
    <td><div class="form_element cf_captcha">
    <label class="cf_label">Enter code as shown</label>
    <span>{imageverification}</span></div></td>
    <td><div class="form_element cf_button">
    <input value="Submit" name="undefined" type="submit">
  </div>
    </td>
  </tr>
  <tr>
    <td>Fields mark with(*) are Compulsory.</td>
    <td></td>
  </tr>
</table>

also i added javascript
function LoadCats() {
           var url = "index2.php?option=com_chronocontact&chronoformname=submitContent&task=extra&format=raw§ionid=" + $('section_id').value;
           new Ajax(url, {
              method: 'get',
              update: $('cats_div')
           }).request();   
        }

reply me sir
GreyHead 02 Apr, 2010
Hi udaydahale,

The form code and script work OK here in IE8 & in IE7 compatibility mode.

Bob
udaydahale 02 Apr, 2010
thx for reply sir

ie7 and ie8 thats working

but in ie6 is having issue
GreyHead 02 Apr, 2010
Hi udaydahale,

The form displays in IE6 too

Bob
udaydahale 02 Apr, 2010
sir,

in ie6 there is an issue after sendingme a form

i inclose image file

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
GreyHead 02 Apr, 2010
Hi udaydahale,

That's not the problem that you described in your first post. Please be clear exactly what is happening.

A link to the form would be useful now.

Bob
udaydahale 03 Apr, 2010
thx again for reply

form is working but in form validation not working in ie6
udaydahale 03 Apr, 2010
thx again for reply sir,

form is working in ie6 but in form validation not working in ie
i have error in ie6

<script type="text/javascript">
Element.extend({
getInputByName2 : function(nome) {
el = this.getFormElements().filterByAttribute('name','=',nome)
return (el)?(el.length)?el:el:false;
}
});
window.addEvent('domready', function() {
('article,textarea').split(',').each(function(field){
$('ChronoContact_submitcontent').getInputByName2(field).addClass('required');
});
});
</script>

in above bold and color line issue
plz fixed sir

regards,
Uday
GreyHead 03 Apr, 2010
Hi Uday,

I'm still not clear but I notice that in one post the form name appears to be submitContent and in the other submitcontent. That capital C could be the problem????

Bob
udaydahale 03 Apr, 2010
thx for reply sir,

see the line 108 in the given image
and
<script type="text/javascript">
Element.extend({
getInputByName2 : function(nome) {
el = this.getFormElements().filterByAttribute('name','=',nome)
return (el)?(el.length)?el:el:false;
}
});
window.addEvent('domready', function() {
('article,textarea').split(',').each(function(field){
$('ChronoContact_submitcontent').getInputByName2(field).addClass('required');
});
});
</script> <script type="text/javascript">
Element.extend({
getInputByName2 : function(nome) {
el = this.getFormElements().filterByAttribute('name','=',nome)
return (el)?(el.length)?el:el:false;
}
});
window.addEvent('domready', function() {
('article,textarea').split(',').each(function(field){
$('ChronoContact_submitcontent').getInputByName2(field).addClass('required');
});
});
</script>
the line should be color and bold line
i also attached the form code back up file
plz give me the solution for this issue
nml375 03 Apr, 2010
Hi Uday,
It would seem your site loads two different versions of mootools, 1.12 and 1.11. That's usually not such a good idea. It further tries to load a third copy, which however returns a 404 Not Found error. There are also multiple copies of the same mootools library loaded.

The older library seems to originate from mod_flippingbook_book_list, and the not-found from mod_ja_contentslide.

I'm not sure why (though I suspect the multiple mootools to be part of this), but the Element.extend method fails to add the getInputByName2() method to the extended Form element. See if you can't prevent these extensions of yours from loading additional copies of mootools (regardless of version), and check if this solves the issue.

/Fredrik
msharab 26 May, 2010
I have a problem in my form

I got the following error when i submit form.

"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 "


Note: I check the menu itemid(129)

Plz check this url
http://kirreshgroup.com/index.php?option=com_chronocontact&Itemid=129&lang=en


Please Help me to sove this problem
GreyHead 26 May, 2010
Hi msharab,

Looks as though the URL is being re-written?

Bob
msharab 26 May, 2010
I don't change any things in the code.

I try to disable javascript from my site and when i open the page source i found the following script

<script>document.location.href='http://kirreshgroup.com/index.php?option=com_chronocontact&Itemid=129&lang=en';</script>


Please how to solve this problem
GreyHead 26 May, 2010
Hi msharab,

That's not anything I recognise from the ChronoForms code. But it would explain the problem you are having.

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