Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-13-2012, 01:51 PM
JBaker JBaker is offline Word form field Windows 7 64bit Word form field Office 2007
Novice
Word form field
 
Join Date: Apr 2011
Posts: 17
JBaker is on a distinguished road
Default Word form field


I have a Report Template I have made with Form fields. It has been working great besides for one thing. I need a drop down list that exceeds the 50 character count limit. What is the best way to get past this? I have one piece of data I need on a drop down list that is 145 characters.

Thanks!
Reply With Quote
  #2  
Old 03-13-2012, 04:26 PM
macropod's Avatar
macropod macropod is offline Word form field Windows 7 64bit Word form field Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,384
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

Hi JBaker,

Have you considered using Content Controls instead? Keep in mind that it's generally not a good idea to use Content Controls and FormFields in the same document.

If that's not viable, you might consider adding a formula field (not a formfield) immediately after your dropdown, coded along the lines of:
{IF{REF Dropdown1} = "Start of text*" "additional text to display"}
where:
• 'Dropdown1' is the dropdown's internal bookmark name;
• 'Start of text' is as much of the particular dropdown entry's text as is needed to uniquely differentiate it from any other dropodown entry's text; and
• the dropdown's 'calculate on exit' property is checked.
This way, even though the dropdown won't display all the text, the missing portion will appear in the document if that item is selected.

Note: The field brace pairs (ie '{ }') for the above example are created via Ctrl-F9 - you can't simply type them or copy & paste them from this message.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 03-14-2012, 11:37 AM
JBaker JBaker is offline Word form field Windows 7 64bit Word form field Office 2007
Novice
Word form field
 
Join Date: Apr 2011
Posts: 17
JBaker is on a distinguished road
Default

That worked perfectly much better and easier than Macros!! My next question would be is there any way I can have it create a bullet list depending on which drop down is selected?
Reply With Quote
  #4  
Old 03-14-2012, 02:58 PM
macropod's Avatar
macropod macropod is offline Word form field Windows 7 64bit Word form field Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,384
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

Hi JBaker,

Yes, you can do that. You can even have multiple pages of content, including pictures, in the IF field's output. You just have to be careful to attach the field to the following paragraph. You could use a field code like:
{IF{REF Dropdown1}= "MyStringStart*" "Introductory Text¶
Bullet 1¶
Bullet 2¶
Bullet 3¶
Bullet 4
" "¶
"}
where the ¶ represents an actual paragraph break. Be aware also that, if you're using 'proper' bullets instead of manually-typed bullet characters, they may not show up in the field code.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 03-15-2012, 06:20 AM
JBaker JBaker is offline Word form field Windows 7 64bit Word form field Office 2007
Novice
Word form field
 
Join Date: Apr 2011
Posts: 17
JBaker is on a distinguished road
Default

I am alittle confused on the bullet thing.

I want to be able to insert bullets if options 2,3,4 or 5 are selected from the drop down menu. There user will make a list and may need more than 5 bullets, or may just need one- that depends on them. So the usual way of using bullets- by just enabling bullets with the bullets button on the toolbar allows a list to be made. This would work great if I could make that bullet disappear for the 1st option on the drop down menu.
Reply With Quote
  #6  
Old 03-15-2012, 02:59 PM
macropod's Avatar
macropod macropod is offline Word form field Windows 7 64bit Word form field Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,384
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

Hi JBaker,

If you just want to suppress the bullet list for a single dropdown selection, simply change the '=' in the field code to '<>'.

However, you seem to be suggesting the user might want to be able to vary the number of bullets independently of the dropdown selection. That would require a macro but, unless you're contemplating having more formfields attached to them, I don't see what the point would be, as the content of each bullet point would be uneditable. The alternative is to insert a Section break below the dropdown and, when you apply the forms protection, leave that Section unprotected. That way, the user could input whatever they like into the unprotected Section, bullet points and all.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #7  
Old 03-20-2012, 10:34 AM
JBaker JBaker is offline Word form field Windows 7 64bit Word form field Office 2007
Novice
Word form field
 
Join Date: Apr 2011
Posts: 17
JBaker is on a distinguished road
Default

Thanks Macropod.

I ended up leaving the sections I wanted to enter large amounts of text as unprotected sections. My new challenge is...

I am trying to create a list according to a drop down menu selection. So for example

{IF{DropDown1} = "6." "{LISTNUM Change \s 1} }

Hopefully this will make my list number I labeled as "Change" ti start if DropDown1 = 6. selection
Reply With Quote
  #8  
Old 03-20-2012, 03:23 PM
macropod's Avatar
macropod macropod is offline Word form field Windows 7 64bit Word form field Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,384
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

When referencing dropdown formfield results, you must use REF at the start of the reference field, ie:
{IF{REF DropDown1} = "6." "{LISTNUM Change \s 1} }
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #9  
Old 03-20-2012, 03:27 PM
JBaker JBaker is offline Word form field Windows 7 64bit Word form field Office 2007
Novice
Word form field
 
Join Date: Apr 2011
Posts: 17
JBaker is on a distinguished road
Default

Thanks I will have to try that.... the other codes I used with DropDown1 I didn't have to use REF. I will see if that works when I get back to work.
Reply With Quote
  #10  
Old 03-20-2012, 06:11 PM
JBaker JBaker is offline Word form field Windows 7 64bit Word form field Office 2007
Novice
Word form field
 
Join Date: Apr 2011
Posts: 17
JBaker is on a distinguished road
Default

I tried to REF the DropDown, it still wouldnt give me a list when I tabbed out of DropDown3
Reply With Quote
  #11  
Old 03-20-2012, 06:14 PM
macropod's Avatar
macropod macropod is offline Word form field Windows 7 64bit Word form field Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,384
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

Two things:
1. The field code you posted refers to Dropdown1, not Dropdown3; and
2. Dropdown3 will need to have its 'calculate on exit' property checked.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #12  
Old 03-21-2012, 04:23 AM
JBaker JBaker is offline Word form field Windows 7 64bit Word form field Office 2007
Novice
Word form field
 
Join Date: Apr 2011
Posts: 17
JBaker is on a distinguished road
Default

Im not sure what I am doing wrong Nothing I do seems to make it work....


What I am attempting to do is if a user selects the ONLY option in the drop down menu other than blank, it will populate a list below. I know I can just use continuous Breaks, but trying to leave it all as a form. This way if that section of data is not needed, it will not print. It will simply be blank (end of document)

Last edited by JBaker; 03-21-2012 at 07:51 AM.
Reply With Quote
  #13  
Old 03-21-2012, 08:39 AM
JBaker JBaker is offline Word form field Windows 7 64bit Word form field Office 2007
Novice
Word form field
 
Join Date: Apr 2011
Posts: 17
JBaker is on a distinguished road
Default

https://docs.google.com/open?id=0Bwd...U1k4dVc5cnFxZw

Here is an example of what I have.... I want "Start" and "Change" to be hidden if "6." is not selected from the DropDown3. I can make the "Start" disappear. However getting a list to appear from the selecting 6. is not working for me.
Reply With Quote
  #14  
Old 03-21-2012, 02:47 PM
macropod's Avatar
macropod macropod is offline Word form field Windows 7 64bit Word form field Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,384
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

Hi JBaker,

I can't tell anything from the image in your link. You can attach a copy of the actual document here, via the paperclip symbol on the advanced screen.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #15  
Old 03-22-2012, 05:08 AM
JBaker JBaker is offline Word form field Windows 7 64bit Word form field Office 2007
Novice
Word form field
 
Join Date: Apr 2011
Posts: 17
JBaker is on a distinguished road
Default

uploaded
Thanks!!!
Attached Files
File Type: doc Help.doc (24.5 KB, 14 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word form field Can't tab from field to field in form Lynieee Word 6 06-18-2012 02:37 PM
Word form field Form Fields - Create blank form text field with if statement? LAssist2011 Word 5 12-14-2011 03:02 PM
Text form field loses formatting in Word 2010 mel72349 Word 0 08-02-2011 02:25 PM
Word form field Birth Date Field in Word Form jaxibobaxi Word VBA 1 07-15-2011 07:35 PM
Word form field Word Macro That Checks a Check Box Form Field When File Print is Executed DKerne Word VBA 4 06-09-2011 11:54 AM

Other Forums: Access Forums

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