![]() |
|
![]() |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
Hi
I've created a nested if then else field. (The else option of the first if field contains the second if field.) This allows me three possible return results, and that works. Two of the possible return results contain a fill-in field. When those results are returned, the fill-in field just contains the default; the user is not prompted to enter any text. Perhaps this is never going to work and I need to find a different way of doing it, or perhaps I need to make a change to the code. I would be grateful if someone could help. Here is the code: { IF { MERGEFIELD PERM_or_TEMP} = “T” " This is a temporary appointment. The reason for this temporary employment is due to { FILLIN "Enter the reason for it being a temporary contract" \d "it being a temporary contract" }." { IF { MERGEFIELD PERM_or_TEMP } = “P” "This is a permanent post." " This appointment has an expected duration of { FILLIN "Type in the expected duration of the contract" \d "eg 3 months" }." } } |
#2
|
||||
|
||||
![]()
Hi Nccadm,
The following works fine for me: {IF{MERGEFIELD PERM_or_TEMP }= "P" "This is a permanent post." " This appointment has an expected duration of { FILLIN "Type in the expected duration of the contract - eg:" \d "3 months"}."} Note: The field brace pairs (ie '{ }') for the above example are created in the document via Ctrl-F9 (Cmd-F9 on a Mac) - you can't simply type them or copy & paste them from this message.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
Hi macropod,
I have realised that the fill-in field prompts you when you OPEN the document - I am an idiot! ![]() Thank you for your help! |
![]() |
Tags |
mail merge; if; fill-in |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Arti | Word | 2 | 07-28-2012 07:14 AM |
![]() |
Joe Patrick | Word VBA | 2 | 01-30-2012 07:23 AM |
Formula to subtract one month from due date field in reminder field | ghumdinger | Outlook | 1 | 10-01-2011 12:09 AM |
Fill column with other columns info | Novice | Excel Programming | 10 | 07-28-2011 09:45 AM |
![]() |
Gail L. | Word | 2 | 05-17-2009 12:38 PM |