Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-03-2013, 02:19 PM
macropod's Avatar
macropod macropod is offline Dynamic Forms using Bookmarks Windows 7 32bit Dynamic Forms using Bookmarks Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

By Combobox I assume you mean a Dropdown formfield.

To do what you want, check the formfield's 'calculate on exit' property. Then, wherever you want the dependent content to appear, insert an IF field to test its contents. For example, suppose you're using a Dropdown formfield with the internal 'Dropdown1' bookmark and you want some conditional text to appear when the 'Widget' item is selected. You might code the IF test as:
{IF{REF Dropdown1} = "Widget" "You selected the widgets option"}
or:
{IF{REF Dropdown1} = "Widget" "You selected the widgets option" "This text appears if the widgets option hasn't been selected"}

Note: The field brace pairs (ie '{ }') for the above example are created in the body of the document via Ctrl-F9 (Cmd-F9 on a Mac) - you can't simply type them or copy & paste them from this message.

Example attached.
Attached Files
File Type: doc Formfields - DropDownConditionsDemo.doc (33.5 KB, 54 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
bookmarks, dynamic text, forms



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't See Bookmarks bobmayo Word 21 06-04-2013 07:37 AM
Dynamic Forms using Bookmarks Linking to Bookmarks savo Word 6 04-11-2013 11:04 AM
Bookmarks for a PDF? Ownaholic Word 0 10-30-2010 12:27 AM
Dynamic Forms using Bookmarks Dynamic Charts... herbycanopy Excel 3 04-09-2010 05:58 PM
Show bookmarks dempen Word 2 01-14-2010 11:47 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:55 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