Jump to content

disable for input but still store/submit data


Recommended Posts


I have a text box that serves as a target for a calendar selection pop-up. I need the text box to appear disabled (for all extensive purpose, be disabled) but still be able to send on the info that it gets populated with.


Here's my code, works fine to populate the field, but the information is not being submitted. This question is in the grey area of ... is it html or php?


            <td><input type="text" name="tsdate" value="" id="data" size="12" disabled="true">
            <button id="trigger">...</button></td>


That button is populating the field. but the data is not being sent.


Thanks in advance!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.