Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-21-2013, 08:53 AM
ReviTULize ReviTULize is offline Enable Text Field by Option Selection Windows 7 64bit Enable Text Field by Option Selection Office 2007
Novice
Enable Text Field by Option Selection
 
Join Date: Dec 2011
Posts: 20
ReviTULize is on a distinguished road
Default Enable Text Field by Option Selection

Basically, I need to have a text field disabled until a specific option button is selected.



possible?
Reply With Quote
  #2  
Old 01-21-2013, 04:00 PM
fumei fumei is offline Enable Text Field by Option Selection Windows 7 64bit Enable Text Field by Option Selection Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

You are going to have to explain what you mean by "text field". By itself it does not mean anything.
Reply With Quote
  #3  
Old 01-22-2013, 12:25 PM
ReviTULize ReviTULize is offline Enable Text Field by Option Selection Windows 7 64bit Enable Text Field by Option Selection Office 2007
Novice
Enable Text Field by Option Selection
 
Join Date: Dec 2011
Posts: 20
ReviTULize is on a distinguished road
Default

sorry,
I have an activex control text box. Next to it are three choices "1-port", "2-ports", "other". I would like to prevent this field from accepting text if the "other" choice is not selected.

thanks for the reply
Reply With Quote
  #4  
Old 01-23-2013, 03:32 PM
fumei fumei is offline Enable Text Field by Option Selection Windows 7 64bit Enable Text Field by Option Selection Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

When posting please pause and think about what you writing, what the person reading it can "see". They see nothing, so you must be fully descriptive.


Three "choices". This just makes me ask...what do you mean by three choices?


A dropdown with three possible selections?
Three radio buttons?
Three checkboxes?

In any case, you are going to have to test against whatever it is you have.

If OTHER = False (so it is NOT selected) Then
disable the textbox.

However, this is an after-the-fact situation. Depending on what the three choices are:

Test their values, and explicitly make

textbox1.enabled = False (if OTHER = false textbox1 is DISabled)
textbox1.enabled = true (if OTHER = true textbox1 is enabled)
Reply With Quote
  #5  
Old 01-30-2013, 07:22 AM
ReviTULize ReviTULize is offline Enable Text Field by Option Selection Windows 7 64bit Enable Text Field by Option Selection Office 2007
Novice
Enable Text Field by Option Selection
 
Join Date: Dec 2011
Posts: 20
ReviTULize is on a distinguished road
Default

Radio buttons...sorry, it was a long day
I will try what you stated...thanks for the reply!
Reply With Quote
Reply

Tags
option button, text control box



Similar Threads
Thread Thread Starter Forum Replies Last Post
Enable Text Field by Option Selection Selection of all Text for a specific page in word is spanning selection across pages ramsgarla Word VBA 9 12-05-2012 03:23 AM
Enable Text Field by Option Selection Form field selection allows entry into form text box David C Word 1 10-24-2012 04:53 AM
Macro to populate a text form field based on dropdown selection koloa Word 0 10-20-2011 11:52 AM
Enable Text Field by Option Selection Putting a bookmark on a REF field in the selection b0x4it Word VBA 4 05-26-2011 01:14 AM
Enable Text Field by Option Selection Form Field - Drop down selection causing auto text chesspupil Word VBA 7 05-09-2010 05:43 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:50 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft