Hi,
We cannot make browsers do what they are not designed to do.
A disabled field is simply not submitted by browsers.
That's the way they work.
We cannot change that.
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
Maybe a too specific suggestion but could be a good thing to have an option to send data from disabled fields. There's a thread from 2007 (http://www.tectite.com/vbforums/show...=6001#poststop) asking for help apparently with no solution. I'm wrong?
Thanks a lot.
Hi,
We cannot make browsers do what they are not designed to do.
A disabled field is simply not submitted by browsers.
That's the way they work.
We cannot change that.
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
Thanks a lot for the super fast answer. I did not know about that restriction. I'm going to consider that situation next time.
There's something to learn every day.
Congratulations for the excellent support job.
Until next time russellr.
Hi,
I found a workaround for this.
You just need to let the fields being enabled just before the submit.
A wat to do this is to substitute the standard "submit" button
with a function like
<form name="frmForm" action="formmail.php"><input type="text" id="txtName" value="hello" disabled="disabled" /><input type="button" onclick="changeTextbox();"></form><script>function changeTextbox(){document.txtName.disabled = false;document.frmForm.submit;}</script>
Ciao
Luca
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks