473,770 Members | 6,713 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

change display field to drop down on checking a checkbox

11 New Member
i want to change the display field to a drop down when a check box is clicked.
Mar 6 '08 #1
10 2895
hsriat
1,654 Recognized Expert Top Contributor
i want to change the display field to a drop down when a check box is clicked.

Any details please.....
Mar 6 '08 #2
sunsom
11 New Member
when the user checks a check box that row a columns display field should change to dropp down. plz help!!!!!!
Mar 8 '08 #3
hsriat
1,654 Recognized Expert Top Contributor
when the user checks a check box that row a columns display field should change to dropp down. plz help!!!!!!
I think you asked this earlier too, but you didn't give any details.
Mar 8 '08 #4
acoder
16,027 Recognized Expert Moderator MVP
I think you asked this earlier too, but you didn't give any details.
Threads merged. Please do not double post your questions!
Mar 8 '08 #5
acoder
16,027 Recognized Expert Moderator MVP
when the user checks a check box that row a columns display field should change to dropp down. plz help!!!!!!
Post what code you have so far, even if it's just HTML (using [code] tags).
Mar 8 '08 #6
sunsom
11 New Member
the code is give below...

[HTML]<ui:checkbox name="check" id="check" onClick="javasc ript: clicker()"/>
<ui:display-field displayText="Fo rwarder" name="Forwarder " sortable="flase " />
<ui:dropdown name="Forwarder " id="Forwarder" displayText="Si ngle selection" selectOne="true ">
<ui:data select="$root/AA/*" idSrc="ID" displayTextSrc= "Forwarder/@Value" selectionSrc="S ELECTED/@Value = 'yes'" defaultValue="1 11" />
</ui:dropdown>
[/HTML]

when check box is clicked in the place of deiplay-field i want the drop down to be activated
Mar 10 '08 #7
acoder
16,027 Recognized Expert Moderator MVP
Show the HTML version (view source in browser) of this code.

Do you want to hide the display field and show a drop-down or replace the field with a drop-down?
Mar 10 '08 #8
sunsom
11 New Member
the code is from a tool which uses a customized form of jsp custom tags... i just want a hint as to how to write the javascript for this scenario...
Mar 10 '08 #9
sunsom
11 New Member
i want to replace the dis[lay filed with the drop down when the checkbox is selected for a particular row....
Mar 11 '08 #10

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

Similar topics

6
7366
by: Rey | last post by:
Howdy, all. Appreciate your help. Have a one to many relation between a client and visit table. In the visit subform, I have a visittype and counselor field which are comboboxes. If I set either field to drop down via Me.dropdown in the GotFocus event for the field, each time the client record changes the visittype or counselor field drops down - only have the GotFocus event set to one combobox at the moment - unless I move the cursor...
3
4492
by: Marc Castrechini | last post by:
I have a page that changes an <ASP:Checkbox value based on a user entered value in a textboxm using client side Javascript. After my submit is fired the value for the chkMyCB.checked does not get the latest value of the checkbox. Does this sound like a posibility and if so how can I force the server to get the new value from the page? TIA,
0
1654
by: uthooker | last post by:
I have an Access form with some combo boxes in the Form Header that are enabled/disabled using conditional formatting based on the setting in a checkbox also in the Header (Combo box = Enabled by default; when Checkbox = False, Combo Box = Disabled.). When I open the form, the combo boxes are behaving as expected, and when I change records (using the standard arrow buttons at the bottom of the form) to a record with a different setting...
1
1897
by: Luke Sayaw | last post by:
Hi All, I wonder how do I include a checkbox in a dropdownlist control.? I am working on a particular enhancement for the web application. In the application, the user can do a search based on a certain criteria populated in the dropdownlist control. The user can select only one criteria in the dropdownlist at a time. The enhancement is to allow the user to do a search with multiple criterion e.g. checking mutiple criterion in the...
6
2297
by: thanigaimani83 | last post by:
Hi guys. i can explain for my doubt with example.see.my table have multiple type of employee details like as Mangemment,Programmer,Designers,Accountants,ContractEmployees.Each type of department having many employee details.Now my drop down list having types of department names like that above types of department names..if i select any one type of department data wil be display in gridview format .gridview data column as employee...
8
3273
by: mlwerth | last post by:
Dear Access Group: This is the most basic and most embarrassing of questions, but I cannot find where to change the data type of a text field that I have in Access 2003 to a number field. I've searched high and low through help databases and on the internet. The directions say to : Open the table in Design view Click the Data Type column of the field you want to change, click the
2
3094
by: giandeo | last post by:
Hello all, It's almost a couple of weeks since i am struggling to get this code work. Unfortunately, i am stuck. There seems to be no hope... Please Help....... I am working with an asp page that dynamically pulls info from my database to populate a drop down menu. Upon an onChange event, I wish to display the fields related to that pull down menu WITHOUT SUBMITTING THE PAGE. The Senario: Database name: sp.mdb
4
13720
by: Yitzak | last post by:
Have a query that is arregated into crosstab query, it is working correctly. select Yes as selected from tblname or select true as selected from tblname Produces -1 ( vba value of True) in the results pane I would like to see it produce a checkbox with tick in just like I would see if I displayed a boolean/yes/no field from a table.
0
9591
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9425
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10225
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10001
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9867
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7415
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5449
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3969
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2816
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.