formdata control

hello …

I do I have a login page.
I want to send data to the home page with the form.
I did record database. username and userpassword
How will I control the data sent? How do I send the data I need to control?

[code]var dhxList;
function doOnLoad() {

	var formData = [
	{ type :"label" , label : "User "},
	{ type :"input" , name : "user" ,width:250, 
	  labelWidth:"250",  labelHeight:"21", 
	  inputWidth:"250", inputHeight:"21", 
	  labelLeft:"315",  labelTop:"315", 
	  inputLeft:"315",  inputTop:"336", 
	  position:"absolute"  },
	  
	{ type :"label" , label : "Password "},
	{ type :"password" , name : "pass" , width:250, 
	  labelWidth:"250",  labelHeight:"21", 
	  inputWidth:"250", inputHeight:"21", 
	  labelLeft:"315", labelTop:"365", 
	  inputLeft:"315", inputTop:"386", 
	  position:"absolute" },
	  
	{ type: "button", name: "btn2" , 
	  label:" Enter", 
	  value:" Enter", 
	  width:"250", 
	  inputWidth:"250",  inputHeight:"21", 
	  labelLeft:"-10", labelTop:"-10", 
	  inputLeft:"315",  inputTop:"440", 
	  position:"absolute"  } 
	 
		];
	
		//dhxlist = a.attachForm("parentId", formData);
	dhxList = new dhtmlXForm("parentId", formData); 
	dhxList.attachEvent("onButtonClick", function(name){
	if (name == "send")
				
				dhxList.send();
				 
		});
		var dp = new dataProcessor("checklogin.php");
        dp.init(dhxList);
	
	}[/code]

Please check example here dhtmlx.com/docs/products/dht … _send.html

if (id == "send"); dhxList.send('checklogin.php', function(loader, response) { alert(response);

thank you. i changed this way.i click the button. this “checklogin.php” page is not going. not displaying any warning.

do not have an answer?

this “checklogin.php” page is not going
Unfortunately it’s not clear who does page is not going? Does it exist on server side?