Slide to pause until that value is selected from a drop down list?

Hi there everyone.

I try to create a cover page of sorts for a simulation of system where the user is asked to enter his name and choose where they work in for a combo box (using the drop-down list box widget)

I have the name entry part work and the drop-down list box is displayed, but I'm having some problems with it.

First of all, as soon as a value is selected in the box is jumps to the next slide. I would have rather navigation controlled by a button that the user can make sure that they have chosen the correct value before continuing. Is there a way to do this?

Hello

This is the craziest question, but think I found the reason: Although the widget looks a lot smaller in edit mode, when opening it (preview or published) it falls above the button. When I have it away, seems to work. Can you confirm?

Lilybiri

Tags: Adobe Captivate

Similar Questions

  • Filling of a numeric field by selecting from a drop-down list

    Hello all;

    I went through the 38 pages on the form now to try to understand it myself. I must have missed something or this day becomes medium long.

    I am filling a numeric field that is based on what is selected in a drop-down list box.

    For the test, I use only 2 fields

    DropDownList1 and digital Field1

    I If (DropDownList1.rawValue == 1) { }

    NumericField1.rawValue = 25;

    }

    On the other;

    (DropDownList1.rawValue == 2) { }

    NumericField1.rawValue = 35;

    }

    That worked. I am now getting the error "missing; before the statement

    "6:xfa: form1 [0]: #subform [0]: DropDownList [0]: output"

    Specify the value of points is checked in the tab links for DropDownList1.

    I said this with a single selection, who worked

    if (DropDownList1.rawValue == 1) { }

    NumericField1.rawValue = 25;

    }

    Thank you all

    Chomp

    If it's a copy/paste of your script, you have a semicolon after the "else" and "else" should be lowercase.

    And for nested IFS, you need an "else if", so:

    If (DropDownList1.rawValue == 1) {}

    NumericField1.rawValue = 25;

    }

    Else if (DropDownList1.rawValue == 2) {}

    NumericField1.rawValue = 35;

    }

    ElseIf...

    If you have a lot of statements, you might want to look at using a statement that may be easier to read.

    {Switch (DropDownList1.RawValue)}

    case '1 ':

    NumericField1.rawValue = 25;

    break;

    case '2 ':

    NumericField1.rawValue = 35;

    break;

    etc.

    }

  • Select from the drop-down list and populate a list in another menu drop down

    I have a drop down list with 10 items in the list. If possible, would like for a selection in the drop-down list to populate a drop-down list with another list of selections. Each of the 10 points in the first list each will have a list of different options in the second drop-down list. I don't know how to build this solution.

    Thank you

    MDawn

    Hello

    It was because of the clear rawValue script that I put in the output from the drop-down list event businessFunction.

    I fixed it:

    // clear the current selection in the department dropdown
    dept0.rawValue = null;
    dept0.execEvent("exit");
    

    https://Acrobat.com/#d=MrWYQbTZIR7xJQDlm5ZSLg

    Good luck

    Niall

  • Select from a drop-down list and the specified element values are displayed in the textfield

    I need for one to be able to select from a list drop-down and specified the item values appear in textfield.

    For example, if I select Amy

    If I select Bob

    If I select Jane

    Amy

    Bob

    Jane (I want to appear as shown in the list)

    I associated a value to each item in the drop-down list so that the choice is easy to compare and determine what initial (default) value to the value in the text field. In my drop down list change event, I have the following:

    var sNewSel = this.boundItem (xfa.event.newText);

    Switch (sNewSel)

    {

    case '1': / / Amy

    TextField1.rawValue = "Amy \n";

    break;

    Switch (sNewSel)

    {

    case '2': / / Bob

    TextField1.rawValue = "Bob \n";

    break;

    Of course that's not work one name shows at a time. Help, please!

    Thank you

    Don't know what the code is supposed to do, but basically, you want to add the name of the drop-down list the addition on the current value of the TextField? Why not use the dropdownlist display value directly? For example on the change event:

    if ( TextField1.rawValue == null )
        TextField1.rawValue = xfa.event.newText;
    else
        TextField1.rawValue += ( "\n" + xfa.event.newText );
    
  • Get the value currently selected in the drop-down list

    Hello Zac,

    I have a question to get the current value in a drop in export UI. Currently I have a custom fall that I fill with UTF16 strings down. I set up as follows:

    Field order
    (1) exNewParamInfo ParamName;
    (2) exParamValues ParamValues;
    (3) ParamName.structVersion = 1;
    (4) safeStrCpy(ParamName.identifier, 256, ADBEVideoFieldType);     FieldType is considered an example of existing code
    (5) ParamName.paramType = exParamType_int;
    (6) ParamName.flags = exParamFlag_none;
    (7) ParamValues.structVersion = 1;
    (8) ParamValues.disabled = kPrFalse;
    (9) ParamValues.hidden = kPrFalse;
    (10) fieldOrderParam.paramValues = ParamValues;

    exportParamSuite-> AddParam (exporterPluginID,
    mgroupIndex,
    ADBEBasicVideoGroup,
    and ParamName);

    I can then load my dynamically generated strings in the fall down (in ProstProcessParams) and they are displayed correctly.

    Then, I call upon export

    exportParamSuite-> GetParamValue (exID, 0, ADBEBasicVideoGroup, & ParamValueToBeReturned);

    to get the current value.

    However, I'm not UTF16 string. My guess is that's because the value of this field is UTF16 and not int (that I put in place on the line 5). I tried to use exParamType_string, but it gives me an editable text field.

    Then, how we configure a drop custom down correctly to obtain the current values of the string of her?

    Thank you

    Petro


    Hey Petro,

    During exSelPostProcessParams, in your calls to the AddConstrainedValuePair(), you have defined a type of integer values to strings mapping.  You can use the same mapping to determine which channel has been selected in the drop-down menu of the integer value passed from GetParamValue().  Integer values can actually be more accurate, because due to the location, the strings may vary.

    Looking at the code, you can make limited value of pairs with parameters of type exParamType_string.

    Kind regards

    Zac

  • Automatically populate a drop-down list by using another selection from the drop-down list box

    New java/preparation forms so I apologize in advance.

    I currently have a menu drop-down box 1 (Occupation) with three options: "enter your own description/blank", retired housewife. When someone chooses either retirement or anyone at home, I would another drop box 2 (employer) to assign automatically "n/a. . The employer drop box has only two options: "enter your own/blank", N/A.

    Far, I could for that box to fill but only when the person clicks in the box (as if they were about to enter their own text.) Then only it will fill the drop-down list "employer." I would like it auto fill once the person has chosen retired, Virgin or stay-at-home woman without having to enter in the box (just using the arrow to the size of the drop-down list box).

    I currently have a key shot that resets the employer box when a person chooses the option vacuum/enter your own option. I then a JavaScript (only for the housewife now) that only works if you click the box of. Key combination works I want to than the other options work as well. If the client settles on white, the choice of the employer updates automatically empty without having to click in the box of. Any help (including general advice to make my code cleaner) is very appreciated!

    Current script of typing:

    If {(event.willCommit)

    If (event.value == "") this.resetForm (["use"]); of other SetFieldValues (event.value);

    }

    The current upward, mice running JavaScript :

    var v = this.getField ("Occupation") .value

    If (v is "Housewife")

    1. this.getField("Employer").value = "N/a".

    I think maybe I should use event.willCommit in my formula, but I'm not sure how to include it.

    Thank you!

    I would not use the key sequence or MouseUp actions for this, but the action post.

    Just make sure that you set the field option to validate the selected value immediately (under Properties - Options) and then use this code as the custom validation script:

    var employerField = this.getField("Employer");
    if (event.value=="Homemaker" || event.value=="Retired")
        employerField.value = "N/A";
    else employerField.value = employerField.defaultValue;
    
  • Select from the drop-down list point based on text box is not empty not

    Hello. I have a javascript code to click a button and it will insert the date in a text box named "Controller_PDF_Creation_Doc_Control_Date" in my form. I also have a drop-down list called 'Release_Approval_Initials '. Everything I'm doing is when there is a date of entry in the text box, I want that the 'Release_Approval_Initials' of the menu drop-down default by selecting the option "TM". The drop-down list is filled dynamically too. How can I do this? Here is the code I have.

    < SCRIPT LANGUAGE = "JavaScript" >

    verify() {} function

    var partNumber = ";

    var ecoNumber = ";

    var pdfDate;

    var queue;

    var queueValue = ";

    var allArray = document.getElementById('listofids').value.split (",");

    var error = false;

    for (var i = 0; i < allArray.length; i ++) {}

    pdfDate = document.getElementById('Controller_PDF_Creation_Doc_Control_Date'+allArray[i]).value;

    <!-document.getElementById ('Controller_PDF_Creation_Doc_Control_Date1') .value =' 19 / 08/11 '; ->

    queue = document.getElementById ('Release_Approval_Initials' + allArray [i]);

    queueValue = tail [queue.selectedIndex] .value;

    If ((pdfDate! = '' & & queueValue == '') |) (pdfDate == '' & & queueValue! = '')) {

    error = true;

    ecoNumber = document.getElementById('ECID'+allArray[i]).value;

    partNumber = document.getElementById('Part_Number'+allArray[i]).value;

    Alert ("You must enter a date of authorization to create PDF or Doc Control files and the queue to release for ECO" + ecoNumber + "part number:" + partNumber);

    }

    }

    {if (Error)}

    Returns false;

    }

    else {}

    Returns true;

    }

    }

    < /script >

    "< cfinput type ="Text"name =" "Controller_PDF_Creation_Doc_Control_Date #ItemID #" id = "Controller_PDF_Creation_Doc_Control_Date #ItemID #" value = "#DateFormat(Controller_PDF_Creation_Doc_Control_Date,"M/D/YY")" # "size ="12"maxlength ="8"validate ="date"required ="no"message ="you must enter a valid date in the format m/d/YY in the creation of PDF files or Doc control Date">"

    < cfinput type = "hidden" name = "today_date" id = "today_date" value = "#DateFormat (now ()," D/M/YY")" # "/ >"

    < input type = "button" value = "today's Date" onclick = "document.getElementById('Controller_PDF_Creation_Doc_Control_Date#ItemID#').valu e = document.getElementById ('today_date') .value" >

    < select name = "" Release_Approval_Initials #ItemID # "id =" Release_Approval_Initials #ItemID #">"

    < option value = "" > < / option >

    < cfloop query = "ShowDataEntryInitials" >

    < option value = "" #Initials # ""

    < cfif initial EQ ReleaseInitials > selected

    < / cfif > > #Initials # < / option >

    < / cfloop >

    < / select >

    Any help would be greatly appreciated. Thank you.

    Andy

    I figured out how to make it work. I just had to add parentheses in the right places to make it work. Here's what I did:

  • Try to get the value of exports from the drop-down list box

    Using the "strikes a custom Script" for a drop-down list box:

    This works, but gives the current face value


    If (event.willCommit)
    {
    App.Alert (Event.value);
    }

    This works, but returns the previous export value


    If (event.willCommit)
    {
    App.Alert (Event.Target.value);
    }

    What I need is clicked on the current export value items as soon as we clicked.

    What I am doing wrong?

    Note that it returns nothing if event.willCommit is true, but it returns the value of the export, if it's false.

  • Why, when I type in the address bar and select from the drop-down list, I seem to "click on" on one of the toolbar buttons?

    I noticed recently that, sometimes, when I chose an entry in the drop-down list after I started typing in the address bar, I would get a different page than I wanted to. It turned out that I was actually clicking the bookmarks toolbar button that has been hidden under the list entry, I thought I was clicking.

    Hi, thanks, but disabling hardware acceleration does not fix it. However, I just swapped my mouse, and seems not to happen anymore!

  • Subforms making visible depending on what is selected in the drop-down list

    Good day to all;

    Looks like I'm '0' batting today. For some reason I'm not able to get a number of things working today... Maybe I should just write off that day as a loss... ; >)

    Another way; I'm trying, unsuccessfully, to get forms to become visible depending on what is selected from a drop-down list. I tried to use "switch" (see below), but I end up getting the famous error "syntax".

    I also tried an 'if' statement (see below), but that doesn't seem to work either.

    What I would like to ask you is when a user selects 1 of 2 choices 1 2 forms sub becomes visible.

    So, if the user has selected in the drop-down list of the bad and they choose now to select the right pair, I want the form incorrect sub to again become invisible.

    I'd appreciate any help

    switch (this.rawValue)

    {

    case "2" :

    staffing_inter. Presence = 'visible'

    on the other

    staffing_inter. Presence = 'hidden';

    breaking ;

    }

    IF statement

    if (this.rawValue = 2)

    {

    staffing_inter. Presence = 'visible'

    }

    else {

    staffing_inter. Presence = 'hidden';

    }

    Number of things...

    What statements do not use "else". You must specify each value. But you can nest another code in a statement that.

    Using a drop down you need to get the new value when the selection is made.

    Thus (guess what you did 'Specify the item values' liaison for the DDL tab):

    var newValue = this.boundItem(xfa.event.newText);
    switch(newValue){
         case "1":
              //code
         break;
         case "2":
              //code
         break;
         //etc.
    }
    

    Or with your statement:

    var newValue = this.boundItem(xfa.event.newText);
    
    if(newValue = 2){
        staffing_inter.presence = "visible"
    }
    else{
         staffing_inter.presence = "hidden";
    }
    
  • I created a PDF form with several drop downs, all with the same drop-down values. When I select a value of 1 in the drop-down list fields, it breeds in all others - which I don't want. How can I fix?

    I created a PDF form with several drop downs, all with the same drop-down values. When I select a value of 1 in the drop-down list fields, it breeds in all others - which I don't want. Can I fix?

    I am fairly new to this, but I think it has to do with the way you have drop them downs named. Copy you a then keep stick in each area? If so, that's the problem. You must rename each with a different number: Dropdown1, Dropdown2, etc. I think this might solve the problem.

  • Help select the value from a drop-down list box

    Hello

    I develop a script (in JavaScript) which will allow a user to select an export PDF presets (that are loaded in a drop-down list) and then export the InDesign file to PDF, by using the selected PDF preset.

    I have the combo fill properly and I am also able to export to PDF correctly, however I have a problem setting the preset has been selected by the user. Here are some of my code fragments:

    Drop-down list:

    with(borderPanels.add()) {

         pdfDD = dropdowns.add();

         sl = new Array();

         for (i = 0; i < app.pdfExportPresets.length; i++)

         sl.push(app.pdfExportPresets[i].name);

         pdfDD.stringList = sl;
         pdfDD.selectedIndex = 0;

    }

     

    ...

     

    myPreset = pdfDD.selectedIndex;

    In PDF format:

        // Open, Export, & Close
        for (i = myFileAmount; i >= 0; i--) {
            app.open(File(myFolderContents[i]));

            createHyperlinks();

            app.activeDocument.exportFile(
            ExportFormat.pdfType, File(myFolder.fsName + "/" + app.activeDocument.name.split(".indd")[0] + ".pdf"), false, myPreset);
            app.activeDocument.close(SaveOptions.no);
        }

    During the passage of myPreset, it is defined as 6 (the index from the drop-down list).  How can I set myPreset that the real value of what has been chosen?

    Thank you!

    In view of your code, you probably need something like:

    myPreset = app.pdfExportPresets.itemByName (pdfDD.stringList [pdfDD.selectedIndex]);

    @+

    Marc

  • Set point problem selected in the drop-down list box that is the XML data provider

    HI - new to Flex, experienced Java dev., hoping someone can help me see the light of what should be easy but...

    I have a Flex 3 MXML application form that contains a ComboBox as follows:
    < mx:ComboBox id = "physRegion" editable = dataProvider = "{regionRequest.lastResult.region 'false'}" / > "

    The combo box is filled by the provider of data like:
    MX:HTTPService id = "regionRequest" url = "flexDAOServlet" resultFormat = "e4x" method = "POST" >
    < / mx:HTTPService >

    and the underlying XML code looks like this:
    <>region
    Northland < label > < / label >
    < value > 1 < / value >
    < / region >
    <>region
    Auckland < label > < / label >
    < value > 2 < / value >
    < / region >
    ...

    Drop-down list box loads the XML code very well. the user can select an item and the appropriate value is submitted to the server without problem. My problem is when I want to "recharge" the form with previous values.
    I can reload the text without problem fields.

    But I can't work in my ActionScript function, how to set the combo box so that it displays "Auckland" for example, the element with the value = 2. I'll be back this server id, even if I could get the XML code or label if that would help me solve this problem.

    I tried physRegion.selectedItem = "Auckland" - nope. "
    I tried physRegion.selectedItem = 2 - nope.
    I tried
    var XML = myXML:XML ("< region > < label > Auckland < /label > < value_2 > < value > < / region >");
    physRegion.selectedItem = myXML;
    and - nope.

    I know that I'm a new style user here error (and thank you for reading this far! your patience is appreciated) but I can't for the life of me see what it is. Can anyone help?

    Many thanks in advance for clues. Apart from that, I'm loving Flex.
    Kind regards
    Adrian

    Two things to note. The only problem with the function that has provided ChiefRocka00 is that it is based on the identifier of the data, which means your always limited to have that be the identifier of your value. Personally, I'll be back queries a lot of times where the labelFIeld and dataField aren't labels / data pairs a suggestion would be to add a third parameter and have it checked for this identifier instead of the data. The other thing to note is that it is more common to use selectedIndex instead of selectedItem. If you do not want to do something more like physRegion.selectedIndex = selectCboIndexByData ("physRegion, ' Auckland", label) by using the update function of

    public void selectCboIndexByData(theCbo,_theDataValue,_identifier:String):Number {}
    for (var i: Number = 0; i< thecbo.dataprovider.length;="">
    If (theCbo.DataProvider.getItemAt (i) [ID] == theDataValue) {}
    Return i;
    }
    }
    return 0;
    }

  • How to make a pdf that can send a form to e-mail selected in a drop-down list box?

    I'm trying to be able to create a user of a pdf file I created, select an e-mail from a drop-down list box and then hit send and have it send to this email address that has been selected.

    Thanks for the help!

    Hello

    I don't think (maybe wrong) you can do this in InDesign. At the very least, you could draw the shape in InDesign, but I guess that the interactivity between the selection of the list and the action of mail should be done with Scripting Acrobat or LiveCycle Designer if you have.

    FWIW,

    Loïc

  • How to set a repeating subform based on a value selected in a drop down list?

    Please forgive me if this is somewhere, but I spent a few hours searching and have not led to what.

    I have a drop-down list that allows the user to select the number of teams in you listing (1-5). Then I have a subform with all the necessary information for each team. I wish that the subform to repeat automatically based on the number selected in the drop-down list, because I need this information for each of the two teams by registering.

    Thank you!

    In the case of exit of the drop-down list, in formcalc, put something like:

    teams of var = $.rawValue

    var counter = 1

    While (counter< teams)="">

    Subform2.instanceManager.addInstance)

    Counter = counter + 1

    endwhile

    This assumes you have already 1 version of the subform. If you are a beginner with no condition (meter while doing<=>

Maybe you are looking for