kaysush
kaysush

Reputation: 4846

Form submission parameters in chrome

Is there any way or any extension for chrome through which i can check what form parameters are submitted when a form is submitted.

for example

<form action="post.php" type="post">
<input name="fname" type="text">
<input type="submit" name="submit" value="Submit Form">
</form>

so i want to see the value of text field whenever the form is submitted.

Upvotes: 0

Views: 5062

Answers (1)

kck
kck

Reputation: 108

Yes if it is ajax submission of form using jquery $.ajax, then you carryout following steps to see the form data:

  1. right click > inspect element > network tab
  2. here the last request will be the "post" or "get" request you did using ajax
  3. click on the request and right side you will get the "form data" information

If it is not ajax submission then you need to check it at the back-end ( in the function to which the form data is sent ).

PHP : you can just do print_r($_POST) or var_dump($_POST) to see the data posted to your function from your browser form.

Upvotes: 3

Related Questions