String address = getAttribute(form, ACTION);
if(address == null) return false;
List<NameValuePair> params = new ArrayList<NameValuePair>();
for(int i = 0 ; i < inputs.size(); i++) {
Attributes attrs = inputs.get(i).getAttributes();
String name = getAttribute(attrs, NAME_ATTR);
if(name == null) getAttribute(attrs, ID_ATTR);
if(name == null) continue;
String type = getAttribute(attrs, TYPE_ATTR);
if(type == null) type = "text";