containers process help

11 views
Skip to first unread message

coder...@gmail.com

unread,
Feb 3, 2015, 1:17:42 AM2/3/15
to wir...@googlegroups.com
hi
till now working fine i am held now for writing process for container. in examples containers code is for just display not doing any process with input values.

like 
modules: [
  {
     "name": "FormContainer",
"category": "form",
     "container": {
  "xtype": "WireIt.FormContainer",
  "title": "WireIt.FormContainer demo",    
  "icon": "../../assets/application_edit.png",

  "collapsible": true,
  "fields": [ 
  {"type": "select", "label": "Title", "name": "title", "selectValues": ["Mr","Mrs","Mme"] },
  {"type": "string", "label": "Firstname", "name": "firstname", "required": true } , 
  {"type": "string", "label": "Lastname", "name": "lastname", "value":"Dupont"}, 
  {"type":"email", "label": "Email", "name": "email", "required": true, "wirable": true }, 
  {"type":"boolean", "label": "Happy to be there ?", "name": "happy" }, 
  {"type":"url", "label": "Website", "name":"website", "size": 25}
  ],
  "legend": "Tell us about yourself..."
  }
  }
      ]

in this example container code just display the container not doing any process with values

i need to know if i have container with two integer inputs fields and one output 

input 1 = 40 
input 2 = 40 
and output = 40 + 40

how can i write container with process  like this

thanks
Reply all
Reply to author
Forward
0 new messages