1. #1
    Sencha User
    Join Date
    Apr 2011
    Posts
    1
    Vote Rating
    0
    gauchoking is on a distinguished road

      0  

    Default Form submitting issues

    Form submitting issues


    I have built a form that is used on an intranet, the problem is when I submit it gives me a 404 error in firebug. I am writing this in cakephp on a windows IIS 6.0 Server. I noticed that it is appending a # to the end of the url it is submitting to such as //www.example.com/forum/add# I am assuming the pound is causing the 404. Any thoughts on why that might be occuring? Here is my form object

    Ext.onReady(function(){

    Ext.QuickTips.init();

    var formObject;

    var buttonHandler = function(button,event) {
    formObject.form.submit({url:'<?php echo $html->url(); ?>',
    waitMsg:'Saving Data...',
    success:doneFunction
    });
    };//end of button handler

    var doneFunction = function(form,action) {
    alert("success");
    }


    formObject = new Ext.FormPanel({
    labelWidth: 75, // label settings here cascade unless overridden
    frame:true,
    title: 'Daily/Monthly',
    bodyStyle:'padding:5px 5px 0',
    width: 768,
    defaults: {width: 450},
    defaultType: 'textfield',

    items: [{
    fieldLabel: 'First Name',
    name: 'data[User][[name]',
    id: 'data[User][name]',
    allowBlank:false
    }
    ],
    buttons: [{
    text: 'Login',
    handler: buttonHandler
    }]

    });

    formObject.render('content');
    });

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    It should not be appending a #.


    //www.example.com/forum/add is not a valid URL, unless your site looks like http://myDomain/www.example.com/forum/add.

Similar Threads

  1. - solved php problem - DnD grid to form panel - form not submitting
    By Warebear in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 20 Apr 2009, 10:24 AM
  2. Issues with submitting a form with parameters
    By rajakumar in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 8 Aug 2008, 12:36 AM
  3. auto submitting form fields: form id instead of params: {} ?
    By drew22 in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 9 Feb 2008, 8:54 PM
  4. Why is my form submitting itself?
    By Specks in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 23 Oct 2007, 8:22 AM
  5. Submitting a form
    By mnemanja in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 28 Apr 2007, 11:22 AM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi