jquery form validation help requaired : i'm new to jQuery i made a form mixing html and jQuery, i would like to know how can i make some fields to "required"? here is the code

    btsample=$('<div id="sample" title="TITLE"/>').appendTo(ctrls).click(function(){$("#getsample").dialog("open")})
		$('<div id="getsample" title="TITLE">'
			+'<form><span>NAME : </span><input type="text" name="myname" ></input><br/>'
			+'<span>TEL : </span><input type="text" name="myphone"></input><br/>'
			+'<span>ADRESS : </span><input type="text" name="myaddress" ></input><br/>'
			+'<span>Email : </span><input type="text" name="myemail" ></input><br/>'
			+'<span >PROJECT NAME : </span><input type="text" name="projectName"></input><br/>'
			+'<span>ARK NAME : </span><input type="text" name="arkName"></input></form> <br/>'
		+'</div>').appendTo(ctrls).dialog({
			autoOpen:false,
			modal:true,
			buttons:{"send":getsample}
		})