Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-26-2023, 11:11 AM
Pilot68 Pilot68 is offline Populating a text field with radio buttons or check marks Windows 10 Populating a text field with radio buttons or check marks Office 2021
Novice
Populating a text field with radio buttons or check marks
 
Join Date: Feb 2023
Posts: 2
Pilot68 is on a distinguished road
Default Populating a text field with radio buttons or check marks

Hello all,



I'm hoping someone can help as I'm a beginner with word and excel. I am trying to create a word or excel document that has questions, which if marked yes/no, will generate continuous text in a field below. There are numerous questions with multiple parts.

Example:

Topic 1: Assessment Completion:

Did you complete your assessment?
A.) Yes
B.) Partially
C.) No

Was your assessment completed correctly?
D.) Yes
E.) No

[Text field generated for Topic 1]


Topic 2: Scheduling:

Did you complete your schedule?
A.) Yes
B.) Partially
C.) No

Was your schedule completed correctly?
D.) Yes
E.) No

[Text field generated for Topic 2]



****Text to generate for Topic 1***

If A.) is selected generate text stating "Great job completing your assessment in a timely manner."

If B.) is selected generate text stating "Your assessments are inconsistent, please work on completing thoroughly."

If C.) is selected generate text stating "You must complete your assessments in a timely manner"

If D.) is selected generate text stating "Your assessment was correct"

If E.) is selected generate text stating "However, your assessment was not completed correctly"


****Example Text Field for Topic 1 would display****

Based on selections A, E:

"Great job completing your assessment in a timely manner. However, your assessment was not completed correctly."


If anyone can help or create a sample document, I would be forever in debt!!! Thank you for any assistance!!!
Reply With Quote
  #2  
Old 02-26-2023, 06:04 PM
Guessed's Avatar
Guessed Guessed is offline Populating a text field with radio buttons or check marks Windows 10 Populating a text field with radio buttons or check marks Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,991
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

Attached is a sample document done with mapped content controls. For this demo I've used built-in metadata fields - if you have a lot of these then you would need to embed a custom xml since you will run out of built-in fields quickly.

If you don't want to use mapped content controls, you would need to use macros to populate the secondary content controls. Code for that can be seen in various threads here including most recently this one https://www.msofficeforums.com/word-...-dropdown.html
Attached Files
File Type: docx Demo_MappedCCs_dropdown2.docx (28.7 KB, 2 views)
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 02-26-2023, 09:41 PM
Pilot68 Pilot68 is offline Populating a text field with radio buttons or check marks Windows 10 Populating a text field with radio buttons or check marks Office 2021
Novice
Populating a text field with radio buttons or check marks
 
Join Date: Feb 2023
Posts: 2
Pilot68 is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
Attached is a sample document done with mapped content controls. For this demo I've used built-in metadata fields - if you have a lot of these then you would need to embed a custom xml since you will run out of built-in fields quickly.

If you don't want to use mapped content controls, you would need to use macros to populate the secondary content controls. Code for that can be seen in various threads here including most recently this one https://www.msofficeforums.com/word-...-dropdown.html
You are my hero!!! Thank you so much! I do have many, many fields so let me look into the link you provided. Thank you for the starting point!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Populating a text field with radio buttons or check marks Making check boxes act like radio buttons Shaky Word 8 12-27-2022 02:37 PM
Show Hide text using Radio buttons Costtx Word 2 10-26-2021 04:39 AM
Microsoft Word 2016 - Link Radio buttons to activate check boxes and/or highlight as well. Dmcmillo Word VBA 4 09-19-2019 06:49 AM
How do I get a radio button or radio group to return its value(s) to a text field using VBA? leyper Word VBA 1 04-03-2019 09:38 PM
check box issue (problem with radio buttons from web page) Word 2013 cQQlgirl Word 6 03-19-2015 07:23 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:18 AM.


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