javascript - How i set a default value using switch input type in node js -


I have the switch input type method for the user to choose a Lang field, either male or female.

But now I want to set the default value to be 'female' how can I set this scenario. My code is

"Create field" on the side:

  {ID: "gender", name: "gender", "switch input" on the side: "speak", iitip: "Switch_", Required: False, Ops: ["Male", "Female"]}  
 
  getValue: function () {return. Sw.value; }, SetValue: function (value) {this.sw.value = value; },  

I'm new to this. Please make your suggestions about your code.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -