Problem with drop-down list: under Windows, it works, on Mac is not

Dear forum,

I'm reworking the script MultiPageImporter2.5 by Scott Zanelli; going to add new features.

So far, I added a drop-down list so that the user could choose which pages to put a pdf/indd file: odd/even/as well.

my dialog box.jpg

However, I encountered a strange problem: on Windows, it works as expected, but on Mac, nothing happens when I click on the shortcut menu. When I write a dialog box, I almost always use the automatic layout and never encountered such a problem before. But in this text the author uses a fixed position for the controls so I followed his style of coding:

dLog.pageSideMode = dLog.pan4.add('dropdownlist', [10,110,180,40], ["Odd and Even Pages", "Only Odd Pages", "Only Even Pages"]);
dLog.pageSideMode.selection = pageSideMode;

The drop-down list is visible both on Windows and Mac, but on a Mac, it is not clickable. What I am doing wrong?

Another question: in the script, the author has created three pop-up windows. In the code, each popup has a different height (the last element of the array 'limits') - 60, 88, 33. Does make sense to make them different if on the screen they are exactly the same (I mean height).

Here's my version of the script.

I think the easiest solution for me here is to rework the part fixed dialog for automatic layout.

Thanks in advance.

Kasyan

Hello

I don't think you're doing something wrong. If you change the vertical position of the popup to 90, the popup works if you click at the top, not if you click on the bottom.

I think that you have found a bug in the previous DAY.

P.

Tags: InDesign

Similar Questions

  • Problem with drop-down list that prevents the use of the functions, will not go away.

    Hello

    I have Windows 7.  I could not afford MS Office, so I downloaded OpenOffice and, later, LibreOffice.  My problem is, when I open a document to write in a program, a drop-down list (formatting) is displayed.  It starts with "Default" at the top.  The box does not work, if I click on anything that it just flashes.  Or it will disappear.  I tried everything I can think of to get rid of him.  And, as long as it's here, I can't write to a document.  I can close, but only by closing the program.

    Is this problem only with free Office programs.  Sometimes when I am looking for a program in Windows 7, or if I'm looking for the Help menu in 7.

    I'm not very savvy computer.  If you would be interested to help me, thank you very much, but please don't expect me to know some thing on anything whatsoever.  I used to use the mode BACK back in the day, but the subterrain of computers is a subject that I've lost contact with long ago.

    You can also try to test with another Windows user, in case you have a corrupt user profile.

    If things were OK and then maybe a few days ago, System Restore is an option.

    How to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista (or 7)
    http://support.Microsoft.com/kb/936212/#appliesTo

    Don't you see the same problems in Mode safe?

    Startup options (including safe mode)
    http://Windows.Microsoft.com/en-us/Windows7/advanced-startup-options-including-safe-mode

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/default.aspx/KB/929135

  • still problems with drop-down list fill the Script

    Well, I used the information I got this forum to fill a drop in a repeatable subform with javascript (and it even works with FormCalc) problem solved. But now when I test the script in format acrobat (with calculations) the last item on my list does not seem to be working properly. They are scripted like that on the preOpen event.

    DropDownListName.additem ("item 1", "1.00");

    DropDownListName.additem ("item 2", "2.00");

    etc.,

    etc.

    They are all the same, and they all show during the test. But when I click on the last item, it automatically entered the first element on the form and for some reason that I don't know, when I click on the arrow to the bottom of the drop-down list once again, will be my listed items 1-6 and 1-6 new (Double listing the items). If I click it a third time he triple will list the elements... Weird! Maybe I'm just tired, but more probably think I do something wrong (again!) Anyone have any ideas?

    One more thing so I don't have to add another post and I hope you people leave him alone. How do the total field sum of script so we round to the nearest cent (1.856 = 1.86) or which is not easy

    Hello

    The second issue of additional items in the drop-down list is easily sorted by including a line in the preOpen to clear the list first.

    DropDownListName.clearItems ();

    This should go before the addItem script.

    This erases the existing list, before be filled again. You would tend to use addItems, where list items will change according to the previous intervention of the user with the form.

    Regarding the round total, you can do this with script (check "Round" in the help file), but it is not necessary.

    When you have the total selected object, just go to the object/field tab and click models. On the display tab, you can select a model of currency with the currency symbol, the 2 decimal and thousands separator (IF your item is a numeric field).

    Good luck

    Niall

  • Search with drop-down list box

    Hello, I am looking to build a Web site for real estate agent and I need to know how I could do a search box with drop-down list according to the image below?

    is there a widget for it?

    Please, if you know a tutorial for that or something Visual on how to let me know

    Screenshot_4.png

    Here are the options available through widgets in Muse:

    http://musewidgets.com/products/data-table

    http://musewidgets.com/products/addsearch-button

    http://musewidgets.com/products/addsearch-Widget

    For a more exact search with custom field values, you can create web app items in case you are using Business Catalyst for hosting your site.

    Thank you

    Sanjit

  • Help with drop-down lists

    I am using LiveCycle Designer ES 8.2 in Windows 7 and I have created a form here: http://olympicanimalsanctuary.org/volunteerapp.PDF

    I have two drop-down lists in the form, under the heading "internship seekers only" on the right side of the first page.  I created these manually, not with any code. When I try to click on the drop down menus in preview mode, as well as in Acrobat and online, the lists will not be open.  They Flash open for a split second, then close it again before I can click on my selection.  Someone else has the same problem with my form, or is this a problem on the end of my computer?  Any suggestions?  I have read some other forums where people have this problem with the drop down menus in other applications as well, but I only have this issue with my own form.

    Today is my first day using this application, so please, be gentle.

    Thank you

    Steve

    Hello

    I suspect that the drop-down list of objects has become corrupt or you have copied the object and then changed its type in a drop-down list or the object picked up the attributes of a shipment by the subject of the e-mail message.

    If you select the drop-down list and go to the XML Source, you will see the click event script is set to "mailto:"

    Solution is always the same - a drop-down menu again drag the shape.

    Niall

  • Help adding textfield with drop-down list selects

    I have a PDF with a drop-down list field called "SoftwareList" with a default value of "Select the software" and a text field called 'SelectedSoftware '. You can freely type in the text field to communicate your needs, or choose the menu drop-down. I want to add in the text field, which is selected in the drop-down list each time. I had the following script to fix this as a custom text field calculation script:

    If (this.getField("SoftwareList").value! = "Select software")

    {

    this.getField("SelectedSoftware").value += this.getField("SoftwareList").value + «»

    }

    The problem I have is that it will continue to add to the text box with everything that was selected last in the drop-down list when you click on other fields in the form, such as check boxes. I tried this put on different actions both at the key sequence in the Properties tab of format, but did not work there. I added the following line, which helped, but it is still a click of the addition until it changes, duplicate the last pick:

    this.getField("SoftwareList").value = "select the software."

    Appreciate help with this.

    I would like to use the script validation custom from the drop-down list. You can use something like this:

    If (event.value! = 'Select Software') this.getField("SelectedSoftware").value += event.value + ",";

    To ensure that the update as soon as a selection is made to check the option to validate the selected value immediately under properties of the menu drop down, tab Options.

  • Using fields show/hide with drop-down lists

    The following code stores and displays the data in a field of view based on what the user selects and it works fine, but I'm not sure how to incorporate additional content in this context.

    Form1. #subform [0]. indPaymentOptions::change - (JavaScript, client)

    Switch - test for the "selected" text, if so, display "display" text

    switch (this.boundItem (xfa.event.newText)) {}

    case "donation/Contribution:

    var display = "Restricted use, usually the student fundraisers. May be a political entity neither does not endorse a political goal. Raised funds donations require a copy of the filing. < span style =------"color: #FF0000;" make-style: italic; ------"> must be attributed to Unassigned funds and senior officer of the authority." </span > ';

    XmlToShow = XmlStart + screen + XmlEnd;

    xfa.resolveNode ("form1. #subform. Display_Field_Pay_Types'). value.exData.loadXML (XmlToShow, true);

    taxReportable.rawValue = 'Y ';

    AccountCodesDynamic.rawValue = "001285;

    break;

    case "Membership":

    var display = 'membership sponsored University must be directly related to the responsibilities of the proposed Member University. Get institutional investors rather that individual memberships to allow the participation of several or another employed. Membership must use a UCSC address for administrative audit. « ;

    XmlToShow = XmlStart + screen + XmlEnd;

    xfa.resolveNode ("form1. #subform. Display_Field_Pay_Types'). value.exData.loadXML (XmlToShow, true);

    taxReportable.rawValue = 'Y ';

    AccountCodesDynamic.rawValue = "001200, \n001210;

    break;

    by default:

    VendPaymentOptions.rawValue = "Please select an option from the drop-down menu"Select type"above."

    taxReportable.rawValue = "";

    break;

    }

    I'm going to show a hidden field, once one of the items in drop-down list is selected with an if statement then. I tried to put the code below in the code above, but it does not work. I am familiar with livescript event management system, so I'm not too sure where the if then statement must be submitted. Should it be set in the * click the section? Or the initialze section? If someone could shine some light on what to do here it would be great.

    If (xfa.resolveNode("form1.#subform.indPaymentOptions").rawValue == 1) {}

    xfa.resolveNode("form1.#subform.textfield1").presence = "visible";

    }

    else {}

    xfa.resolveNode("form1.#subform.textfield1").presence = 'hidden ';

    }

    My example display only text. When you view the drop down from the window of the object, click the link tab. If specify the item values is checked, then boundItem will return what is in the value column during the passage of what is in the text column. If you have added an additional element in the list without adding an item of value, maybe that's your problem. In my example, if you check the box, it will be 1, 2, 3 in the value column. If you then in the code, you have added the this.boundItem part, case sections will have to be changed from 'TextField1' to '1' and the same for the 2 and 3.

  • Problem in drop-down list in the column Selector?

    Hi friends...
    I use the view selector to column for the first time in OBIEE.
    I have this problem:

    (1) even if I chose the columns in the left pane, my drop-down list is not filled with the corresponding values? Please let me now how to fill the drop down in the column picker.
    (2) I have a column count that has almost 1000 enteries of integers ranging from 1 to 500. I put only 5 values in my County of drop down (like the 50, 100, 200, 250, 500) that actually filters the column number as (less than these values). Suppose that user select 50 so it will filter the report less a 50-count indictment.


    Thanks in advance

    Hi Toony,

    for your second question... I don't know where you want to display these values if variable County presentation or somewhere else... ??
    Anyway, if it's in the guests... then follow these steps

    For column filter prompts:
    Select this particular column and create the bins on that particular column so that these 5 values and give the same name for this particular... as value...
    for 50--> 50 as display name
    for 100--> 100 name allow... like wise for the user to understand...
    Now create the same column guest on this particular column... and moving forward

    Variable application:
    In the variable of the presentation, select display , select the SQL... (some thing like this option, I don't remember exactly what it is... but using this, we can write the SQL code to display the values in the drop-down list)
    There, you write the following SQL code SELECT columnname FROM SubjectAreaName WHERE ColumnName IN (50, 100, 200, 250, 500)
    As we filter the values of column to contain only the values that we mentioned...

    It can helful for you, if it's not... Sorry for wasting your valuable time

    Thank you & best regards
    Kishore Guggilla

  • Mandatory text field / drop-down list under option RadioButton

    Hello

    I am working on a form with a set of option buttons: individual or joint.

    A drop-down list will become visible if the user clicks on the joint. How can I set this drop-down list to be mandatory when the 'joint' is clicked?

    And also - what would be the script as if I want to put a text field to become mandatory according to radio button clicked?

    Thanks in advance!

    Hello

    You can write the following script in the button click event

    to make the object TextField or DropDownList required and visible when clicking on the radio button and

    text field / dropdown list not to be mandatory when it is hidden.

    If (this.rawValue == 1)
    {
    TextField1.presence = "visible";
    DropDownList1.presence = "visible";
    TextField1.mandatory = "error";
    DropDownList1.mandatory = 'error ';
    }
    on the other
    {
    TextField1.rawValue = null;
    DropDownList1.rawValue = null;
    TextField1.presence = "invisible";
    DropDownList1.presence = "invisible";
    TextField1.mandatory = "disabled";
    DropDownList1.mandatory = "disabled";
    }

    Thank you

    Stéphane.

  • New to LiveCycle.  Need help with drop-down lists.

    I just started playing with LiveCycle with PDF Forms.  One thing that I wonder if it is possible to do the link of the selections available in the drop-down lists.  For example, on a form with one question on this subject, I have 5 possible answers as the "ranking of your favorite in the order of most loved at least liked fruits".  Then I have a series of 5 drop down list with the first box containing boxes "Apple, pear, fishing, strawberry, grapes.  Is it possible to have someone to make a selection in the first box, their fruit in the list, and then the second box would have four options to choose?  Say if apple was their favorite, only, pear, fishing, strawberry and grape would be selection?  I tried to find an answer, but I'm afraid I don't know enough about the capabilities of LiveCycle, and/or how to work with scripts (I think that's what I see people using).  If someone could take the time to try to push myself through this, I would appreciate it, of course.

    Here's a form to date. I had to get help from a programmer friend, so it is a code evolved. I used a script object to reduce the volume of code.

    Take a look and let me know what you think.

    Paul

  • I lost the most views drop-down list under the search bar, it used several times in the same session, and then he just disappeared.

    The drop-down list is / was my part used of any page, use it to access to everything I need. The only other thing I noticed changed it's new green bottom-tab at the top of each page: site Web Safe/number of trackers. I can't get rid of it. Avira virus control icon is on my desktop, but the icon also suddenly appeared on the right side of the search bar. I deleted it because I have it on the desktop. I have no why he appeared suddenly. It is my 3rd session today. I had not changed anything in previous sessions, so don't know why the drop down menu has disappeared.

    Any help appreciated.
    HK

    Hi, hopefully a screenshot can make things more clear - when you right click in the area of the red dot, then a popup menu will appear where you can re-enable the toolbar of bookmarks.

  • Network option just is not in the drop-down list under the definition of the property

    I have a vRA 7 installation and am trying to create a drop down menu option to choose VLAN while deploying VMS from the Blue Print.

    To do this, have created a property definitions as below.

    Capture.JPG

    Then I had created a group of properties like below

    PG.JPG

    Then to Blue Print Custom property and added the Group of properties and property custom added the VMNetwork

    When I return to the catalog and deploy a new virtual machine can't see any vlan in the dropdown option menu.  instead I see the preset in the menu drop-down

    pg3.JPG

    Why the drop-down list values Vlan do not come up instead of this the name value appears.

    If mistaken. any help appreciated

    Try like this:

    The property group is like the old building profile, a way to group several properties. You must specifically that he would do that.

    Grant

  • When I try to click on my gmail and web addresses in the drop-down list of web addresses for twitter, it will not let me or redirects to a google search

    I type in "gm", and he shows up with my gmail link, but also other sites that I visit that start with "gm", but when I click on the gmail address in the menu drop-down list, nothing happens or it redirects to a google search for gm. It happens only with gmail and twitter so far. No idea how to solve this problem?

    One possible cause is a problem with the places.sqlite file that stores the bookmarks and history.

    You can also try to repair the database of places with this extension:

  • Dynamic table with drop-down lists

    I have a dynamic array with a header row, row in Section, and footer.

    Section has the cells (columns) next: Cell1 (drop-down with locations), button (to remove the line), CCode (RAL color Code), CName (name of the color).

    I start with 1 row.

    now what I want to do is, when they select in Lignesde for example RAL 1003 (rawValue '1') then in CName must appear the name "yellow signal" (rawValue '1').

    I am using javascript

    My first problem is how do I know what value is chosen, because this does not work:

    If (this.rawValue == 1)

    {

    xfa.host.messageBox ('Today')

    }

    and on the other hand, how to set the CName value

    because it affects only in the first cell CName:

    xfa.form.DataSheet.TechnicalInformation.Markings.THatchPatterns.Section.CName.rawValue

    = '1';

    Please help me, I'm totally lost

    solved the problem, instead on the change event to put the script on the exit event.

    and the trick is the following line:

    xfa.resolveNode ("THatchPatterns.Section [" + this.parent.index + "]"). This.rawValue = CCode.rawValue

  • Windows RT problem with drop-down menus

    I have an Asus vivo running windows RT when you browse the internet, I can't access the menus because they do not stay open long enough to make a choice. This has happened on various Internet sites. Is - it a RT problem and any ideas how to fix?

    Hey there,

    It is not a problem of RT, it's a mouse problem. The menus at the scene you are trying to access are not touch optimized. This problem occur with any touchscreen device. You must use the keyboard or a USB mouse, whichever you prefer.

    See you soon!

Maybe you are looking for