473,473 Members | 1,415 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

1 New Member
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
Oct 19 '07 #1
2 1479
gits
5,390 Recognized Expert Moderator Expert
hi ...

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

[HTML]<input type="text" name="test_field" readonly="readonly"/>[/HTML]
kind regards
Oct 19 '07 #2
acoder
16,027 Recognized Expert Moderator MVP
Changed the thread title to describe the problem in more detail.
Oct 19 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: Bob Rock | last post by:
Hello, I'd like to be able to allow instanciation of a class (class Class_A) only from another class method (class Class_B). And I'd like to write the necessary code to enforce this behavior...
11
by: Bob Rock | last post by:
Hello, I'd like to be able to allow instanciation of a class (class Class_A) only from another class method (class Class_B). And I'd like to write the necessary code to enforce this behavior...
11
by: Bob Rock | last post by:
Hello, I'd like to be able to allow instanciation of a class (class Class_A) only from another class method (class Class_B). And I'd like to write the necessary code to enforce this behavior...
1
by: Dave | last post by:
I am hosting on a GoDaddy server and need the server to serve a file extension that is currently not server. My understanding is in general there are no filetype restrictions but that if any...
6
by: Jason20005 | last post by:
Dear all, Why C and some of other languages dont allow the name of a variable start with a digit?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.