Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    76
    Vote Rating
    0
    jop_008 is on a distinguished road

      0  

    Default Form fill in values

    Form fill in values


    I have a form with one real field entered by the user.
    The other fields are hidden and must be set programmaticly by JS.

    I am able to create hidden fields like this:
    {
    xtype: 'textfield',
    hidden:'true',
    id:'gebrek',
    name: 'gebrek'
    }
    but how do I fill the fields from my controller code? The code must be send to the server by using PHP.

    John

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Posts
    12
    Vote Rating
    0
    DeepShah is on a distinguished road

      0  

    Default It will work

    It will work


    You can set value of that hidden field after form is loaded by following code :

    Ext.getCmp("gebrek").setValue("Put your value here.");

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    76
    Vote Rating
    0
    jop_008 is on a distinguished road

      0  

    Default Issue solved

    Issue solved


    var panelbijzonderheden = Ext.create('Ext.form.FormPanel', {
    fullscreen: true,

    and to fill the fields with hidden:'true' property

    panelbijzonderheden.setValues({
    complex_prefix:cprefix,
    floor_nr:cverdieping,
    room_nr:cruimte_nr,
    building_section:cgebouwonderdeel,
    catagory:ccategorie,
    catagory_damage:ccategory_gebrek,
    damage:cgebrek,
    action:cactie,
    m2:parseFloat(cm2),
    data_inspection:cDateStr,
    user_id:'test'
    });



    John

Thread Participants: 1

Tags for this Thread