Mail Merge script to replace any blank fields with specific text

In InDesign Mail Merge I would like to replace any blank fields with specific text. For example if we have four fields (A, B, C & D) to merge, and field A is blank, it would insert field C.
In essence leaving no blank fields but replacing a blank field with another specific field.
I have read that inDesign does have Mail Merge limitations but if there is a script that we could run that would solve our problem.
Please let me know if you can help?

I take from the lack of response it is not possible to do this in InDesign.

Similar Messages

  • Mail stopped working. Now get blank screen with icons (delete, file, forward, etc) at top. Then goes blank. iPad 2 purchase 12/11

    Mail stopped working. Now get blank screen with icons (delete, file, forward, etc) at top. Then goes blank. iPad 2 purchase 12/11

    Try to reset your ipad and/or force quit the mail app
    Reset
    Hold down the sleep and home keys for about 20 seconds. When you see the silver apple, let go and let it reboot. No data will be lost.
    Force close an app
    Double tap the home button. When you see the app previews on the screen scroll sideways if needed to get the preview in question on the screen. Flick that preview up and off the screen to close the app. Single tap the home button or home screen preview to exit the mode.

  • Replace the empty field with below data content field in xml pub report

    Hi Gurus,
    Please give me the solution for the Replacement of empty field with below data content field in XML PUBLISHER REPORT.
    ex:
    Name:Philips.M
    Address 1:XP APPTS,
    Address 2:S:R ROAD
    Address 3:
    COUNTRY:INDIA
    Here i have to get only address 1,address 2 and the COUNTRY data.I dont want to display Address 3 field here.
    Thanks,
    David

    I'm not sure if this answers your question but you could try putting out the address all in one item in the SQL eg somthing like:
    address1 || DECODE(address1, NULL, NULL, 'newline character') ||
    address2 || DECODE(address2, NULL, NULL, 'newline character') ||
    address3 || DECODE(address3, NULL, NULL, 'newline character')
    where 'newline character' is somthing like CHR(12)
    Dave

  • I have a PDF form that I want to pre-fill multiple fields with example text that disappears onFocus. Is there a way to do this?

    Pretty much what my subject line says. My client wants example text in the fields of a PDF form that will disappear when the cursor enters the field. When I try this with show/hide layers, the layer becomes visible as soon as I enter form editing mode, and the action doesn't work properly. Any help? I was able to get it to work with a single field, but multiple fields with example text on multiple layers doesn't work for some reason.
    Thanks for any help.

    Hi Jeffrey ,
    You need to use a custom Format script for the field.
    Regards
    Sukrit Dhingra

  • I have created a form that contains fields with default text for a user to update/personalize.  Is there a way to style the text so I can quickly identify changes to default text in a field?

    I have created a form that contains fields with default text for a user to update/personalize.  Is there a way to style the text so I can quickly identify changes to default text in a field?

    George - Thanks you so much!  Actually, i'd love for the text color to be red font color.  Could you send me the script for that? And I assume I just copy and paste the script into the field properties (see screenshot)?
    thanks again!
    Seth

  • Mail merge in Pages using Address Book - problem with fields

    I am a fan of using the many of the Mac OS, iLife and other Apple applications together and just purchased iWork '09. I'd never done mail merges in previous versions of Pages, but I decided to try today with my Address Book data. I stumbled across some problems related to Address Book that have bothered me for some time and wonder if there is a simple go-around. Many of the cards in my Address Book have more than one line in the street address field. For example, they have street and street number in one line and the apartment number in the second. When Pages encounters such vCards in my Address Book, it doesn't know what to do and skips the next line of the address, which includes city, state and zipcode. I have also altered my Address Book template to include such things as the person's college (as I work with lots of college students), but this field is not recognized in Pages' mail merge feature. So, if I put the college name at the beginning of the street field in Address Book (which is what I have done until today), I can get excellent mail labels to print from Address Book, but I now I realize that this causes the mail merge problems in Pages described above. If I list the college elsewhere in the vCard, such as under the guise of "department" (an accepted field for mail merge in Pages), I lose the ability to get accurate mail labels in Address Book. Any ideas?

    Page's Mail Merge doesn't show up any "Custom" fields in its list?

  • When I mail merge a message that incudes a table with an excel spreadsheet, the table disappears and the data appears in list form

    I've tried both creating the table using Thunderbird, as well as creating the table in Word first and the problem is the same. I've reinstalled and updated both the mail merge add on and Thunderbird.

    If you do not need all the excel specific items you can just write it to a spreadsheet using the write to spreadsheet file vi's.
    If you want to go the excel route you will have to use active x. you can see a lot of examples on the excel board under the breakpoint forum. please post a sample of how you want your data to look and I can maybe help explain what options you have. and also oyu do not necesarily need the report generation toolkit.
    Joe.
    "NOTHING IS EVER EASY"

  • Linking a select field with a text field in a DW form.....

    I did try to search for this but nothing came to my attention. Apologies if it is already in the forum.
    Is it possible to have a "select field" link with a "text field"? In other words The select field will provide different venues to choose from, in this case "Blog, Trade Show, Friend, Photo Magazine" and then after the choice is made a text field appears that allows you to provide details re. your choice. For example if you choose "Trade Show" from the select field the text field will then appear and prompt you to detail WHICH Trade Show. Something along those lines. Any assistance will, as always, be appreciated.
    -G-

    You need scripts for this. Try this jQuery tutorial
    http://anthonygthomas.com/2010/03/14/display-form-fields-based-on-selection-using-jquery/
    Nancy O.

  • Data Merge for addresses, wont remove blank fields

    Sometimes it works, sometimes it doesnt.  Today it worked for a file, came back to it late with nothing unchanged and it wasnt working...
    Im working with addresses for data merge and everyhting works fine but with the fields (like Address 2, Address 3, etc...) that are unused, I have it set to "Remove blank lines for empty fields" in the options but it will not work.  Why doesnt this seem to work?

    It didn't work in CS2.
    I was told that it was initially broken in CS3, but later fixed (I cannot confirm as I skipped that version).
    It doesn't work in CS4.
    So, apparently Adobe managed to break a feature that did work, but haven't fixed it again.
    -mt

  • SharePoint Calc Column - How to Find and Replace ANY & ALL Values with Something Else

    Haven't found a solution on this even though it seems like it should be cut and dry.
    I have a column containing characters "-" (e.g., XXX123-123-fjhrh-sdafsdfsd). I want to find every "-" and replace it with "@". Seems easy but so far haven't found a solution. My calc column always seems to stop at the first
    occurence of "-" and only replace that one. Seems every forumula wants you to tell SharePoint where to start (position). You can't simply tell SharePoint, Find this "-" ALL OCCURENCES and replace with this "@" ALL OCCURENCES.
    I don't have the option of saying start at this position because my data is not the same in every cell/field (e.g., number of characters).
    Closest I've gotten is this:
    =REPLACE([IN THIS COLUMN],FIND("-",[IN THIS COLUMN]),LEN("-","@")
    RESULTS:
    XXX@123-XXX-123

    Hi JJSHAREP,
    The formula only works when there are only three "-" in the column value, and the formula will fail if there are more than or less than three "-" in the column value.
    I recommend to use Jquery code to replace the characters in the column called IN THIS COLUMN in the UI:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
    var Index=0;
    $(".ms-listviewtable tr th").each(function(i){
    if($(this).find("div").attr("name")=="IN_x0020_THIS_x0020_COLUMN"){
    Index=i;
    $(".ms-listviewtable tr").each(function(i){
    if(i>0){
    var value=$(this).find("td").eq(Index).text();
    var value1=value.replace(/\-/g, '@');
    $(this).find("td").eq(titleIndex).text(value1);
    </script>
    Best regards.
    Thanks
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Replace any special charecter with space

    Hi all,
    I would like to remove any occurence of special charecter that may belong to  specific language(ä)  or (* & %).
    The input may be a  string in  parameter variable or a file input.
    Regards,
    Sourya

    hi,
    constants: con_cr type x value '0D'. or try '0D0A'
    replace con_cr with space into X.
    else
    go through this"http://help.sap.com/abapdocu_70/en/ABAPREPLACE_IN_PATTERN.htm"
    cheers,
    Bhavana
    Edited by: Bhavana Amar on Apr 15, 2010 8:18 AM

  • I want to compare two columns and replace any equal values with the value in a specific cell

    I want to compare the numbers in two columns and replace all matching numbers in the second columns with the corresponding value from a cell in the same row as the matching number. 

    Me too.
    Barry

  • How replace any character typed with other characters useing Keymap in JTC!

    Hi,
    I want to map some key to some character(unicode) using Keymap interface.
    What`s the easiest and shortest way to do it?
    Thank you in Advance,
    chandracar

    I test it on an english Window and worked well but on
    an arabic/farsi window didn`t work well.The character
    that appears in text component isn`t the character
    that i defined in the program.We would need to see the source code for your CustomKeyTypedAction (or whatever you called it) to help you any further.
    How can i define a keymap that independent from the
    OS language that works same in all OS languages
    like english or non-english?I'm no expert, but that sounds like a big project. At the least, you would need a conversion table for every pair of languages, but that would only work when the user's keyboard had enough keys to produce all the characters in the target language. Some languages have so many characters that even purpose-made keyboards can't hold them all, and special InputMethods have to be used to enter them (and I don't know anything about those).

  • HP Officejet 4500 Ethernet / Wifi Driver Problem (blank fields) with Office 2013

    Hi,
    I have an Officejet 4500 (Ethernet) and I have exactly the same problem as lots and lots of HP Printer owners!
    Everytime I try to print on Office 2013 + Win 8 64-bit, the Printer window comes with strange "Asiatic" symbols, and not the original language (Portuguese or English, I tried both). (Note: my father has exactly the same printer I have and he already had some problems also on Win 7 + Office 2010, then I deleted all HP drivers, installed again and it solved the problem)
    I already tried the menus you people talk about but in my model I do not have such options. I already installed everything again and again...and always the same problem! With another printer from another company I have no problems with the drivers on Office, so it must be from HP Drivers that do not get along with Office 2013!!! Please update them as soon as possible...

    Hello DaveZiffer,
    Welcome to the HP Forums.
    I see that you are having an issue since the installation of the Office program.
    Here is a link that will take you to the 4 updates that are available for your printer. 
    After doing the updates, if you are still having issues, please feel free to write me back and I will be happy to research this issue further.
    Thanks for your time.
    Cheers,  
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • Populating a field with multiple text strings.

    Hi,
    This is for a XML form.
    I would like to populate a text field in a medical intake form. There would be a base intro to a doctor's assessment with the ability of the doctor the check off symptoms that would populate a expandable field to create a paragraph. The idea is to speed up and make more consistent the process of the medical professional entering data. As it stands now, between the chicken-scratch writing and variations in diagnosis terms, the intakes vary wildly.
    So a sample sentence might be like this……….
    “Patient is using [symptom]. There is no evidence of [symptom] or [symptom].”
    The [symptom] (it could be called anything, like "item")would be clickable and bring up a box of choices I could tailor to that specific area, so there would be multiple instances of this with variations. It would trigger dialog to be opened that would contain a number of items to be selected from. That selected (or multiple if possible), would be inserted into the paragraph.
    The box might look something like this....
    Any assistance or pointers to more detail would be very much appreciated.
    Thank you.
    Joe

    Thanks for your reply,
    One more question, When I load master data, I donot see any request IDs in master data although it has loaded is it because this is mater data ? Also if had to delete a request how is it possible ? or If I have to remove a field from that Iobj that already had data how can that be done.
    Regards,

Maybe you are looking for