create a field with password style

Hi all,

How i create a field type password with the same styles as type:“text” ?? i tried to use dhx.ui.passive to redefine , also works as a password type but not preserve the same styles as text field ??

var ui = dhx.ui({
	container:"loginform",
	rows:[
			{ 	view:"toolbar", type:"MainBar", data:[
			{ type:"label", label: 'login server', align: 'center'}
		]
		},{ 	view:"form", id:"myform", data:[
			{ 
				type:"text", name:"field_a", id:'field_a', label: 'username', value: "", 
				position: "label-left", width:585, labelWidth: 175, align: "center", labelAlign: "center"},
							{ 
								type:"text", name:"field_b", id:'field_b', sameLine:false, label: 'password', value: "", 
								position: "label-left", width:585, labelWidth: 175, align: "center", labelAlign: "center"},
								
							{ type:"form_button", name: "field_d", id:'field_d', value: 'login', align:"center", align:"center",width: 290 }						
						]
					}
			]
		});		

Thanks forall.

Current version of form doesn’t contain such type of item. But yo can create custom form type. Please check tutorial here docs.dhtmlx.com/touch/doku.php?i … rm_control

Olga, thanks for reply.
I was trying with this method, dhx.ui.passive but i can’t get the same effect as type:“text”… Have you got more samples or more tutorials for custom forms ??
thanks forall. gracias.

Check the attached sample
pass.zip (119 KB)

Impressive !
Works fine … is just i’m looking for …

Many many thanks