by prettyscripts on 2008-04-17 11:13:25 • Leave a comment »
when posting a form, disable field is not found in $_POST data.
this is intentional! the browser is doing in accordance to html spec – do not send disabled fields to the server.
add a hidden field with the value. the value in hidden fields will be submitted / posted.
Tags: disabled field, php, post