Allow non-editable text box value to be passed to database when submitted

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • taknev
    New Member
    • Oct 2007
    • 1

    Allow non-editable text box value to be passed to database when submitted

    Hi,
    i am having primary address textbox and secondary address textbox and a check box .if we click check box it is copying the primary address to secondary address.so the secondary address should be disabled .if i am using DISABLED property it is not passing value to database instead passing empty.if i am using READ ONLY property and if i click the check box it is editable but passing to database.

    i have to pass to database and it should also be non editable.


    So can any one solve me
    Last edited by taknev; Oct 19 '07, 06:13 AM. Reason: no replies
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5388

    #2
    hi ...

    please post your readonly attempt ... i think it should work ... a readonly field would be:

    [HTML]<input type="text" name="test_fiel d" readonly="reado nly"/>[/HTML]
    kind regards

    Comment

    • acoder
      Recognized Expert MVP
      • Nov 2006
      • 16032

      #3
      Changed the thread title to describe the problem in more detail.

      Comment

      Working...