Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 07-31-2019, 03:36 PM
Guessed's Avatar
Guessed Guessed is offline Can a text form field be dependent on a drop-down? Windows 10 Can a text form field be dependent on a drop-down? Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

You can also do this without a macro by using linked Content Controls.

Firstly add a ComboBox Content Control and add entries with names and values corresponding to your pairs eg Name=Unites States, Value=US etc
Select the Content Control and then show the XML Mapping pane, right click one of the available elements and 'Map to Selected Content Control'
Then move your cursor somewhere else in the document and then on the same XML Mapping pane, right click on the same element and choose Insert Content Control > Plain Text
Test it by changing the value of the ComboBox CC
You can then copy and paste the plain text CC to the other locations.

See the attached doc for this example in action
Attached Files
File Type: docx Choose an item.docx (51.1 KB, 17 views)
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia

Last edited by Guessed; 07-31-2019 at 03:38 PM. Reason: Added Attachment
Reply With Quote
 

Tags
dropdown, form fill, legacy form



Similar Threads
Thread Thread Starter Forum Replies Last Post
Activate (show) a Drop-down form field when another drop-down form field is selected from Jentis Word VBA 1 04-19-2018 09:42 PM
Can a text form field be dependent on a drop-down? Auto Populate Text On Dependent Drop Down Exit GregStewartPTC Word VBA 2 02-27-2017 05:37 AM
make text form field active dependent on dropdown Glenn0004 Word VBA 1 06-23-2015 06:13 PM
form control Field - Drop down auto text mrtinfl Word 5 11-19-2014 06:57 AM
Can a text form field be dependent on a drop-down? 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 12:18 AM.


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