Submitting the value of a disabled input field

I wanna Disable an Input Field on a
form and when i submit the form the
values from the disabled form is not
submitted
.

Use Case: i am trying to get Lat Lng
from Google Map and wanna Display it..
but dont want the user to edit it.

You can use the readonly property in your input field

<input type="text" readonly="readonly" />

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)