I just want to know if there is another way to pass form from php using textfield instead of submit button, because I want to send my updated data using textfield or password so the user will just enter the textfield after typing this is how my code looks like 

```
if(isset($_POST['textfield']))
{
   echo "send data";
}

<input type = "text" id = "textfield">

```