1. #1
    Ext JS Premium Member breckster's Avatar
    Join Date
    Mar 2008
    Posts
    116
    Vote Rating
    0
    breckster is on a distinguished road

      0  

    Default Checkbox Value incorrect

    Checkbox Value incorrect


    I am building checkboxes on the fly on a form panel from a store populated with an AjaxProxy. The store is populated correctly with 2 fields .. text and value

    Adding each checkbox to a fieldset via painted event on the form


    // store.each ..... iterate over store records

    fieldset.add(
    {
    xtype: 'checkboxfield',
    name : 'SendTo',
    label: record.data.text,
    labelWidth: '85%',
    value: record.data.value,
    checked: false
    }
    )


    According to the docs... "value" is The string value to submit if the item is in a checked state.

    However, on submit only true or false is passed.

    Help please!

  2. #2
    Sencha User
    Join Date
    Feb 2012
    Posts
    117
    Vote Rating
    11
    Sottilde will become famous soon enough

      0  

    Default


    I believe you need to set 'inputValue', not 'value'.

  3. #3
    Ext JS Premium Member breckster's Avatar
    Join Date
    Mar 2008
    Posts
    116
    Vote Rating
    0
    breckster is on a distinguished road

      0  

    Default


    Quote Originally Posted by Sottilde View Post
    I believe you need to set 'inputValue', not 'value'.
    Sorry, forgot to mention using Designer 2 (298) building a Touch project.

    inputValue did not work ..

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