+ Reply to Thread
Results 1 to 4 of 4

Thread: Sending data from disabled fields

  1. #1
    Join Date
    Jun 2009
    Posts
    2

    Default Sending data from disabled fields

    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.

  2. #2
    Join Date
    Dec 2003
    Posts
    3,979

    Default Re: Sending data from disabled fields

    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/

  3. #3
    Join Date
    Jun 2009
    Posts
    2

    Default Re: Sending data from disabled fields

    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.

  4. #4
    Join Date
    Dec 2011
    Posts
    4

    Default Re: Sending data from disabled fields

    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Sending form results in an HTML email
    By russellr in forum HOWTO Guides and Tips
    Replies: 26
    Last Post: 12-Jan-2006, 08:31 PM
  2. Problem with new server sending mail
    By mstookey in forum FormMail Subscription Support
    Replies: 7
    Last Post: 25-Jun-2004, 01:27 AM
  3. Deriving fields from other fields
    By russellr in forum HOWTO Guides and Tips
    Replies: 0
    Last Post: 13-May-2004, 12:25 PM
  4. POST form data as well as email
    By zippy in forum FormMail Subscription Support
    Replies: 20
    Last Post: 24-Jan-2004, 04:29 PM
  5. not seeing form data
    By brownie in forum FormMail Subscription Support
    Replies: 6
    Last Post: 19-Jan-2004, 01:37 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts