Conditional text

I have several combo boxes with the same 3 items in each.
one of the items = "fail"
If  one or more combo box's = "fail" I want to pass the value to a text box and for it to remain there until none of the combo box's value = "fail".
I have tried to fix it by adding a second (hiddden) text box where only the item "fail"  value is added. The only problem is that if the item "fail is removed from  all  the combo boxes the value needs to be removed from the text box. How do I do that , am i on the right track?
Cheers for any help

For the custom calculation for the text field:
// array of field names to check
var aFields = ("CheckBox1", "CheckBox2", "CheckBox3");
// clear the field's value
event.value = '';
// loop through the check boxes and test for 'Failed"
for(i = 0; i < aFields.length; i++) {
   if(this.getField( aFields[i] ).value == "Failed") {
      // set event value to "{Failed"
      event.value = "Failed";
      } // end match field
   } // end loop of check boxes

Similar Messages

  • Show/Hide conditional text at a book level

    I am using TCS2 on Windows XP.
    FM 9.0 p250
    I have several files as part of a large FM book. Each file has the same text conditional tags. Can I, at a book level, set my conditions to show/hide, etc. and then update the book? So far, I only know how to open each file, set the SHOW/HIDE CONDITIONAL TEXT as I need it (not to show conditiona indicators and according to my built expression) and then save and close each file.
    Is there a way to do all my files at once? Note- I want them all set the same way... so that might make it easier..
    Thanks,
    Adriana

    adrianaharper wrote:
    I am using TCS2 on Windows XP.
    FM 9.0 p250
    I have several files as part of a large FM book. Each file has the same text conditional tags. Can I, at a book level, set my conditions to show/hide, etc. and then update the book? So far, I only know how to open each file, set the SHOW/HIDE CONDITIONAL TEXT as I need it (not to show conditiona indicators and according to my built expression) and then save and close each file.
    Is there a way to do all my files at once? Note- I want them all set the same way... so that might make it easier..
    Thanks,
    Adriana
    I don't have FrameMaker available right now, so I'm working from memory, using the traditional FrameMaker menus, rather than the FM 9 tools.
    Select all the files in the book window. With the book window active, open the View menu and look for Conditional Text. Your settings here apply to all selected files in the book window, so it's possible to set conditions on all or some files files. Ctrl+Click to select non-contiguous files; Shift+Click to select a range of contiguous files.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • (FM8p277) Crashes when saving first doc in book after changing conditional text display

    That was a mouthful :-)
    Okay, this happens with any of the books that I work on --- it never happened with Frame 7.
    I have a book containing several documents.
    The documents contain several conditional text segments.
    Start new Framemaker session, open book, open all documents.
    Change conditional text display (from Show All to Show Selected, or vice-versa).
    From the book, choose Save All (or from the *first* document, choose Save). The following text appears in a 'FrameMaker dialog': "File <filename of first document>.fm has changed on the disk since you last opened or saved it. Someone else has probably modified the file. Do you want to save it anyway?
    Click OK. All of the files save properly. (If I had clicked Cancel, the first file would be skipped and all other files would save.)
    Change conditional text display again (note: this could even be for a different book at this point, I believe, but will have to verify).
    (Repeat step 3): The same text appears again in the dialog.
    Click OK. FrameMaker crashes while trying to save the first file. (If I had clicked Cancel, the first file would be skipped and all other files would save. However, if I attempt to save the first file afterward, FrameMaker still crashes.)
    Anybody have any insight into this? Am I the only one this happens to? Argh :-)
    Thanks.

    Sorry, the only answers I got were on the forum and nothing worked
    That being said, at least now I know I'm not crazy! (Sorry it had to
    happen to you, though.)
    As it stands, I've been training myself to make sure that after the
    first time I toggle the settings, I do the save, and then make sure to
    save all, quit, and restart FrameMaker before I attempt another toggle.
    On the odd occasion that I don't do that and get the warning message, I
    select Cancel (which lets the rest of the files save), quit, restart,
    and then make sure I update the first document appropriately.
    All the while cursing and swearing, of course
    As an aside... if you find a solution, please let me know about it if
    you remember.
    Thanks.
    John

  • Conditional Text in Table - Problems with row height adjustment

    Hey there,
    I’m german but I try to express my problem in english as good as I can. Not always easy with the different menu names. Hope you get what I want to say! :-)
    As you can see in my attached screenshot, I placed text in a table.
    Text height is set to: minimum 1,5 … so it adjusts to the amount of text.
    This is what I want - it should adjust the height to the marked/aktivated conditional text.
    It always adjusts the hight when I blind out the first line oder lines in between (e.g. line 2+3 of 4).
    But if I want to blind out the last line(s), there is a ¶ at the end and a extra blank line with the #.
    I know, the # stands for the following hidden Text, but why does it work with the red/green text.
    There is also text hidden (green), but the mark # is right after the last word - not in a new line.
    Has anyone a solution for this?
    Thanks in advance!

    That's ok so far. A paragraph sign at the end of a text forces a new line.
    To change that do the following:
    For every condition you need another condition just for the paragraph sign that comes immediately after the condition. Not after every paragraph of one condition, but at the end of every consecutive numbers of paragraphs of the same condition.
    So in your third example you'll need two conditions more:
    1. One for the paragraph sign at the end of condition "meaasurements"
    2. One for the paragraph sign at the end of condition "price 2"
    Whenever you make the other conditions invisible, you also have to turn off the new conditions that only control the paragraph signs.
    See the following screenshots:
    Uwe

  • Removing conditional text tags in a batch

    Hi everyone, using TCS2 on Win-7 64-bit.
    We have been using some conditional text tags in our writing, and now we are looking at adding a few new ones and taking a few away. Is there a way to remove a batch of conditional text tags from a whole bunch of FM documents, all at once? It is a tedious process to do it manually, doc per doc, tag per tag... wondering if there is a script, or anything like that?
    Thanks,
    Adriana

    I believe there are a couple of utilities to manage conditional tags; you might try searching Leximation's tool list:
    http://www.leximation.com
    And, there could definitely be Framescript-based scripts, either generic or written customized for your requirements. Here's the FrameScript group:
    http://groups.yahoo.com/subscribe/framescript-users

  • Adding Conditional-Text conditions in bulk.

    We are importing text from excel using XML via XSLT.
    We would like to mark certain prices (excel columns or Indesign tags) as conditional text.
    We are having a great deal of difficulty in applying conditional text using find-and-replace within Indesign, because of the variation in formatting of prices.
    Below two products, where product B includes a thousands comma separater, a Tax Staus marker in the UK and a Truck Shipping marker in the USA all of which need to be included within the conditional text.
    Product
    UK (X1X)
    Europe (X2X)
    USA (X3X)
    A
    £1.99
    3.50E
    £3.59
    B
    £1,199.00 XV
    3.500.00E
    $3,590.00 T
    Is it possible to apply conditions to tags?
    Is it possible to apply conditions using XML or XSLT?

    This problem was solved by a response to a more focussed question about GREP searching.
    applying the conditions is straightforward once the correct strings have been GREP'd

  • Very slow PDF generation when conditional text is hidden in FM 9.0

    I am working on 96-page chapter of a larger book. A 7-page section of the chapter needs to be hidden until the next release, so I hid it with conditional text. After doing this, the "Save as PDF" printing process goes from taking 6-7 seconds to taking several minutes. If I unhide the conditional text in the same session, printing is very quick again.
    I have no problem generating very PDF files with the PDF printer in other applications (Word, PowerPoint). The issue is specific to FrameMaker and the use of conditional text. What might be causing this?
    I am using FrameMaker 9.0p255 and Distiller 9.0.
    - Chris

    Hi Jeff,
    These were good suggestions to try. Saving the document first has no effect on PDF generation.
    However, I did find that printing to the Adobe PDF printer remains fast when the conditional text is hidden. That's quite an interesting finding! I did also notice that these two methods of PDF generation aren't identical:
    "Save as PDF" opens an Adobe Distiller window, while printing to the Adobe PDF printer opens a different "Creating Adobe PDF" progress box (looks like it's from the printer driver itself).
    "Save as PDF" generates a 1188k PDF file, while printing to the Adobe PDF printer generates a 1049k PDF file.
    "Save as PDF" defaults to placing the PDF in FrameMaker's working directory, while printing to the Adobe PDF printer defaults to saving to the last place to saved a printed PDF file (awkward when working with multiple directories, as I often do).
    When I do a "Save as PDF", FrameMaker does still spool to the PDF printer. It is this spooling that takes a long time. Once spooling is complete, then the Distiller window opens and the PDF is created very quickly.
    I would still like to get "Save as PDF" working since it knows where to place the PDF file. No solution to the runtime yet, but at least there is progress...

  • TCS2 Inline graphics hidden by conditional text cause unwanted carriage returns

    I have some FrameMaker documents where there are some small icons in the text.  Their anchored frames are set to be "at insertion point" in FrameMaker. They work fine normally, but when the icons are hidden by conditional text, they cause unwanted carriage returns in the RoboHelp output. The text is split into different paragraphs in the middle of the sentence.
    For example, this is the FrameMaker input:
    And this is the RoboHelp (WebHelp) output:
    I notice that if I manually edit a topic in the RoboHelp editor, I can manually apply a conditional tag to an inline graphic without causing a line break.
    So, I'm wondering if there's a way to avoid this when using linked FrameMaker documents.
    Thanks,
       Philip.

    Your logs are generated automatically by your system as it runs - there is nothing further that you need to do. They are ordinary text files, so you can display them on a terminal using any of the usual tools - cat, less, grep, etc.

  • InDesign Conditional text batch export with TOC update

    Hello Everyone,
    I'm just getting into the scripting, so bear with me please.
    I have an indesign document with several conditional text variations and a generated Table Of Contents. I've found -hans-'s batch exporting script which works perfectly, BUT, in my document there are conditional headings too, which have their impact on the TOC of course and sadly indesign's toc update is not live. So all I need, is add a line (or 2) in the script that selects and updates the TOC for me before exporting each PDF. I've tried labeling the TOC text frame (with script label) and invoke a menu action on it, but I think I didn't get the Syntax right. I guess for someone experienced this is a really simple task.
    Here is -hans-'s Conditional text batch exporting script:
    http://forums.adobe.com/message/4764443
    thanks for your help!
    wood1y

    Hi,
    Thank you for your answer. This is my syntax so far. All I did to -hans-'s script was, I tried to create a variable with a text frame that has the "TOC" label, select it with a .select action (found it on a forum) that doesn't work, and tried to invoke the update toc with app.scriptMenuActions.itemByID(71442).invoke(); which doesn't work either. So yes, as I told you, I'm a beginner.
    var nameOfThePDFExportPresetYouWantToUse = 'DiscManual' //please don't forget to set!
    var currDoc = app.activeDocument;
    var currFilePath = currDoc.filePath.absoluteURI + '/';
    var currFileName = currDoc.name.replace(/.indd/, '');
    var currConditions = currDoc.conditions;
    var myTOC = currDoc.textFrames.item("TOC")
    //set all conditions visible to false
    currConditions.everyItem().visible = false;
    l = currConditions.length;
    //cycle thru conditions
    while(l--){
    currCondition =  currConditions[l];
    //set actual condition visible to true
    currCondition.visible = true;
    currConditionName = currCondition.name
    //select TOC
    myTOC.select();
    //update TOC
    app.scriptMenuActions.itemByID(71442).invoke();
    //set pdfName
    var exportTo = File(currFilePath + currFileName + '_' + currConditionName +'.pdf');
    //Have a look here:
    //export PDF. to choose backgroundexport. use the second line of code
    //currDoc.exportFile(ExportFormat.PDF_TYPE, exportTo,false,  nameOfThePDFExportPresetYouWantToUse);
    currDoc.asynchronousExportFile(ExportFormat.PDF_TYPE, exportTo,false,  nameOfThePDFExportPresetYouWantToUse);
    //set actual condition visible to false
        currCondition.visible = false;

  • Question on conditional text design

    I have a relatively large book (230 pages) with dozens of tables and 100's of graphics. I need 4 versions of this book. One for each grade level (3) and one if content for all 3 grades is sold as a "master course."  Other than implementing the conditional text, the book is ready to go. I have tried a couple different ways to approach the  tables conditionally (some of which are in Text Frames, some just anchored to a page ) but I don't get very far.  Applying the Conditional Text tags ( with different colors and markers for each)seems to make it crash (i.e. almost duplicatable unlike the "normal" 3-4 crashes I experience on a daily basis the last month that are just random). Sidenote: I was very happy to see that they are going to fix the book printing crash...
    Cross reference markers are involved in these conditional sections, and I have my suspicions that they are a root culprit of my other crash problems, but then FM crashed when applying conditional text to a section that *didn't* have a x-ref, so I don't know what to think.
    I need to get this out by Monday. So my question is this, if I need 4 tables in a page (one for each version) am I better off just making 4 copies of the book and compiling that way? I sold the client on FM mostly because of the ability to compile multiple docs from one base book..so I really hate to have 4 copies when I give her the source. I know you can highlight individual rows in a table for a version (so I could make one really big table for 3 of the versions and just choose different rows), but this is a thing that seems almost certain to make it crash as well.  And the master tables have an additional column as well as a row so I would still need 2 tables per doc if I could get the conditionals to quit crashing. Is there some better way to "design" this that an experienced FMer could suggest? Some custom utility that works?
    Just in case someone asks this:
    System Config
    FM 11
    new install in August, not upgraded
    Files are all new and native to FM11
    Windows 7-64 bit
    20 gig of memory
    2 TB drive - local C:/
    Thanks for any suggestions on this.

    I think you picked the wrong thread - this one deals with importing or linking FM content into RoboHelp with the TCS.
    I haven't heard of anybody talking about conditional text crashing their FM11 - only issues with Track Changes and Conditions. Have you been reporting these crashes to Adobe Support? Have you submitted your crash logs? Can you reproduce the crashing with a sample book or is it only with this project? Have you tried MIF-washing your content?

  • Can I export just the "show" conditional text to a mif?

    When I export a document with conditional text to a pdf, just the conditional text that is set to "show" (and the unconditional text) appears in the pdf.  That's good, but I want the same thing when exporting a mif.  There are two reasons for this:
    (1)  We have an in-house tool that parses a mif and extracts data from certain tables to populate a database.  The tool doesn't parse pdfs.  And the tool won't always handle conditional text correctly, particularly conditional text table rows.  The tool would work fine if the conditional text were already "resolved" during the export to mif.
    (2)  I'd like to use the Boolean logic for conditional text that is available in FM9, but I need to furnish files to other groups in the company that use FM7.  Their FM7 wouldn't display conditional text properly if it depended on anything other than OR logic.  But they would be happy to accept mif files that didn't have any conditional text because it had been "resolved" when I generated a mif7 file for them.
    I've tried various ways to convert a pdf into a mif file, but no process seems to preserve the formatting and the editable text. I'd be willing to accomplish this in some round-about fashion involving Framemaker, Acrobat Pro and/or some other tool. 
    But the happiest outcome for me would be to discover that FM9 already has the ability to export just the "show" conditional text and the unconditional text to a mif. 
    Or can this be done by making a copy of the document and then somehow automating the deletion of the "hide" conditional text and the conversion of the "show" conditional text to unconditional?

    Or can this be done by making a copy of the document and then somehow automating the deletion of the "hide" conditional text and the conversion of the "show" conditional text to unconditional?
    Writing a custom script to filter the MIF to parse out the conditions is non-trivial. You can try a Google search for an existing filter or script that does the job. However, if there is no such thing, then you're on the right track, getting FM to do the hard part - filtering the conditionalized content correctly. For example:
    * In a copy of the original file, delete the condition(s) you want to hide; during the deletion, you have the option to delete the corresponding text. Then save as MIF to a descriptive name, or save as .fm to a new name, then open and save that file as MIF. Close the source file without saving.
    * Reopen the source file and do the same process from this fresh instance, deleting the condition(s) you want to show. Save as above.
    * Within FM itself, however, there's no way to automate this process. With one of the free FM utilities - dobatch from cudspan, or dzbatcher from datazone - you can script opening and saving an FM file as MIF. Search Google for dobatch, cudspan, dzbatcher, or datazone.
    * To automate setting the conditions, a keystroke-macro recorder might serve, otherwise you'd need the commercial FrameScript product, and a customized script if there's no existing script for this purpose. For FrameScript info, check with Rick Quattro at frameexpert.com. 
    * If you're using Structured FrameMaker and have the expertise available to customize an EDD, you could take advantage of the "filter by attribute" feature, but it's not trivial to adopt Structured FM just for this narrowly-focused need.
    HTH
    Regards,
    Peter Gold
    KnowHow ProServices

  • How to build a document with conditional text

    So, I created a condition for a feature that is new to my document and until it's stable, I want to hide that text. No problem. I selected the condition and from the Show/Hide Conditional Text pod, I moved it over to hide. When I created the conditional text, I gave it a background color of gray so I could easily distinguish the conditional text from the non-conditional text. However, if I leave the conditional text visible and go to generate a PDF, the gray background style appears on the conditional text in the PDF. Is there something I'm missing here when it comes to building a PDF? I don't want the style I see in the FM file to appear in the final PDF. I only want that background color as an indicator while I'm editing it. I don't want to have to remember to change the style every time I want to build with the condition visible. Here's a screenshot from the PDF. The bits in gray are what I had applied the condition to.
    After selecting the book file, I tried both doing a Save as PDF and a Print Book but both options ended up with my conditional text having the gray background style in the final output.

    No, you have misunderstood the problem. Yes, If I want to hide the condition so it doesn't print, that works great. But, once the feature is active (or say I have two customers, one that has the feature and one that doesn't), If I want to print the document with the conditional text visible, then I want the text but I don't want the background style that shows up in FM. The conditional style should only appear in FM, not the generated PDF.
    I worked for years with Madcap's Flare and you could set the color of the conditional text in order to distinguish what text was conditioned and with what condition (different colors for different conditions). However, when you generated the output, those colors never showed up. The only thing that displayed was the text that was set to be visible. That's what I was expecting from FM. And the FM tutorials I have taken, that's what they stated should happen. Here's a transcript from the FrameMaker 10 tutorial on Lynda.com:
    When we go down to the Conditional Text pod, you'll notice that we have a number of radio buttons for In, Not In, As Is, and then we also have our tags down below. So this is going to be in the US version. So we'll click the US tag. We'll change the radio button to In. You'll see the status change over here to In, and then we'll apply that by clicking the first button in our group of buttons here to apply it. Now, you'll see something change here in the document and if we deselect our text, you can see it's now blue with the overline and that's how we decided the style and color would appear for our US tags. That's not how it's going to print. It's just for our own visual purposes.

  • How to Create A Conditionally-Texted Paragraph Element

    I'm creating a multi-purposed document where I need to add a section of conditional text on each page, but not always in the same place on the page (so I don't think a Master Page solution would work). Rather than have to select the text and manually apply the condition each time, I would like to create a paragraph tag that is already defined with that condition so my users can just select that tag and enter the text. The paragraph designer doesn't provide the ability to specify a condition text setting for newly created paragraphs.  I tried creating  a new reference page and adding a conditionally-texted text box within a graphics frame, and then specifying that for the Below Pgf setting for a new paragraph element, but it just imports the graphic frame from the reference page and the text within cannot be editing.
    Suggestions?
    Thanks

    I would create a unique paragraph tag and then apply a conditional
    text setting to all tags of that type with a FrameScript.
    An alternative may be to set up a paragraph tag with the conditional
    text settings already applied and then copy-and-insert it with a third
    party tool such as ClipMate or Autotext, but I don't know that the
    conditional text setting is "sticky" when processed through a
    third-party solution. You'd have to test it a bit.
    Art
    Art Campbell
                   [email protected]
      "... In my opinion, there's nothing in this world beats a '52
    Vincent and a redheaded girl." -- Richard Thompson
                                                          No disclaimers apply.
                                                                   DoD 358

  • Can't select more than ONE conditional text tag in FrameMaker 10?

    Hi, I work with lots and lots of Conditional Text (CT) tags in FrameMaker. We moved to v10, and now I can't select more than ONE CT tag at a time---this means when I need to apply 10 CT tags to one item, I have to select the item, click one tag, click In, and then click Apply---3 clicks, 10 separate times = 30 clicks! (I used to be able to select the item, select all the CT tags I wanted applied into the In box, and then click Apply.) This is very frustrating. I've tried to click all the Ctrl, Shift, and Alt keys separately and then try and select more than one tag, but nothing works. Please help---this is going to be a nightmare for me if this can't work!
    Please help and show me that I can add more than one tag to an item at a time. Thanks so much!!!

    Unfortunately, this capabiliy wasn't carried over to the Conditional Text pod when the new interface design was created. You're stuck selecting the tags one at a time and then applying a condition. It's a bit faster if you select the conditions sequentially, then you have fewer clicks for applying subsequent tags to the same content.
    I fully agree that this sucks.
    Please fill in a bug report and a wish list item at: FrameMaker Bugs & Wish List
    You can also add/vent to the following thread (that is monitored by Adobe):
    Seeking inputs on desired features in FrameMaker

  • Is there a tutorial/primer for working with conditional text and page numbering in book folders?

    I'm ramping up on FrameMaker 9 and have been experimenting with using folders in book files. I like being able to add Frame files to the folder to organize content. But I also need to use conditional tags. In one version of my book, the entire contents of some files in one folder are hidden using conditional text. I can't figure out how to set the numbering for each file so that the page numbers adjust appropriately in this scenario. Or is it even possible to do this?
    Can anyone recommend an advanced tutorial for using folders in Frame 9?

    Michelle,
    It would be easier to maintain if you create a different book file that omits the entire "conditionalized" set of files.
    See these Adobe TechComm blogs for some more background info on using hierarchical books and numbering behaviour:
    http://blogs.adobe.com/techcomm/2009/05/xml_authoring_projects_using_hierarchical_books.ht ml
    http://blogs.adobe.com/techcomm/2009/06/numbering_in_hierarchical_books.html

  • Why does Conditional Text Pod crash in FM12

    Just got FM12 and find that simply clicking on the Conditional Text pod will crash FM. It's not consistent, so I can't determine exactly what steps cause it to crash. Also, sometimes clicking inside of the pod will cause FM12 to crash.
    This was the case also in FM9, so I was hoping that it would get fixed by now. Is there a work-around for this bug or is Adobe planning to finally fix this bug?

    I used the Help > Updated and Help > About to check whether there were other updates. There aren't.
    I just started using FM12 yesterday and have encountered so many problems that I've been swamped with these issues and trying to get my job done, so I didn't know where to send logs etc to. But FM12 just crashed again a few minutes ago, and I got an Internal Error message that mentions doing that, which I'll do today.

Maybe you are looking for