State form field to display the drop-down list of all States

My client has an interest in having the STATE form field in the withdrawal form store a string to a field conversion menu drop-down displays the list of States. He only sells to the United States, so there are 50 lists. I don't think it's necessary, but is it possible?

Thanks for your time!

Mouma

Hi Jeff,

As long as her select field name is the same as it is for the text field (and just good to do the same thing for ID) then you can change it.

Options whose value. Then come by in admin.

Note that if the customer ships internationally is not a viable edition.

Tags: Business Catalyst

Similar Questions

  • How to display the drop-down list box in MS excel by using labview report generation toolkit? pleasepost code block diagram?

    How to display the drop-down list box in MS excel by using labview report generation toolkit? Please post the block diagram of the code so that I can able to generate from the drop-down list box in excel with the menu drop-down...

    Like this. (edition, use the reference forms instead of the reference to the worksheet)

    Ben64

  • How the auto fill a field based on the drop-down list unless the specific item is selected

    Hi all

    My apologies if I posted this in in the wrong place, but I am new to these forums, JavaScript and Adobe LiveCycle.

    I am trying to build a form using LiveCycle Acrobat but have problems with the drop-down lists.

    Inititaly I just wanted to fill in the fields in a table based on a matching menu selection dropdown in another table.

    I used the following code and it worked fine:

    Workbook.Content.Table1.Row3.AppropriationDetails.Row4.Cell1::change - (JavaScript, client)

    fFrom var = xfa.resolveNodes ("Workbook.Content.Table1.Row3.AppropriationDetails [*]. Row4.cell1');

    OTF var = xfa.resolveNodes ("Workbook.Content.Table2.Row3.AppropriationDetails [*]. Row4.cell1");

    for (var i = 0; i < = fFrom.length - 1; i ++) {}

    fTo.item (i) .rawValue = fFrom.item (i) .boundItem (xfa.event.newText);

    }

    The problem is that now I want the code above works UNLESS one of the items in the drop-down list is enabled specifically in this case, I want the text box in the other table to display a message such as "Details of the entry in the field below.

    I tried to create an If Else statement using the following code:

    Workbook.Content.Table1.Row3.AppropriationDetails.Row4.Cell1::change - (JavaScript, client)

    fFrom var = xfa.resolveNodes ("Workbook.Content.Table1.Row3.AppropriationDetails [*]. Row4.cell1');

    OTF var = xfa.resolveNodes ("Workbook.Content.Table2.Row3.AppropriationDetails [*]. Row4.cell1");

    for (var i = 0; i < = fFrom.length - 1; i ++) {}

    If (fFrom.item (i) .rawvalue = "Option 3") {}

    fTo.item (i) .rawValue = "enter the details in the field below.

    }

    else {}

    fTo.item (i) .rawValue = fFrom.item (i) .boundItem (xfa.event.newText);

    }

    }

    The code now filled the field with "Enter the details in the field below" any item I select in the drop-down list.

    Your help is greatly appreciated.

    See you soon,.

    ozzy_q

    Hello

    You use .rawValue in the change event. This will cause problems because the selection of the users has not received .rawValue from the drop-down list at the time when the change event is triggered.

    Move your script as it should to the output of the dropdown event.

    Hope that helps,

    Niall

  • show/hide fields based on the drop-down list of choices

    I have a field from the drop-down list with three choices. Based on the selection, I need a specific text form field to appear and the others to stay hidden. (Or if it makes the code cleaner, the resulting field could be a drop-down list, too, with the selected choice.) I don't know Java well enough to extrapolate the code from the examples online and it fit my forms. I can provide an example of form. Thanks in advance for your help.

    There are ways to run this.  the easiest for you would be to add this script to the event (calculation of the Properties tab) to calculate the field that must be hidden.  Take notes, all "/ /" is some tips for you to understand the code.  You will need to put this script in all the areas you want to replicate the behavior, change the value depending on what you want to accomplish.  the word 'event' means myself to make you understand.

    If (this.getField("dropdown").value == 'put value here') {//replace "drop down" with the name of the drops}

    Event.Target.Display = display.visible;

    }

    else {}

    Event.Target.Display = display.hidden;

    }

    This works if you have a small amount of fields.  If you manage to have a large number of similar fields, let me know because there are other, faster ways.

  • Show/hide fields based on the drop-down list

    Hello

    I'm trying to show/hide subforms with a drop-down list selection. I found a lot of information on the subject and ended up with what my script:

     form1.Page1.Division::exit - (JavaScript, client)
    
    switch (Page1.Division.rawValue)
    {
       case "1":
       SubformZZI.presence = "visible";
       SubformZZR.presence = "hidden";   
          break;
     
       case "2":
       SubformZZI.presence = "hidden";
       SubformZZR.presence = "visible";       
          break;
    }
    
    

    However, it does nothing when a selection is made in the drop-down list. I have the "SubformZZI" initially defined as 'Visible' and the 'SubformZZR', originally defined as "hidden".

    Any suggestions?

    Kind regards

    ZeroZone

    Check if the form is saved in dynamic form. File-> save as and choose dynamic for the type of shape...

    Other that that, you should check if you have given the values for the selection of the drop-down list as '1' and '2' in the tab of the control's binding.

    Thank you

    Srini

  • Fill in numeric fields according to the drop-down list

    Hello

    I am VERY new to Adobe LiveCycle so be gentle. I am trying to generate a purchase order. I made my drop-down menu with all the elements that they can choose to buy. I want the the user can select an item and have the corresponding prices for this item to be brought up in a column of prices, then the user can change the quantity and then the Total price column will calculate the price and quantity.

    Can someone help me with this? I drive myself nuts trying to figure it out on my own.

    Thank you

    Amy

    PS. I don't know how to write the script if it's what I do... Sorry

    PLLEAAASEE HELP

    The simplistic way to do is to assign prices as the values of the drop-down list in the "Binding" tab of the object palette.

    Then, in the case of calculating of the price (using formCalc) simply the name of the drop-down list field.

    When the item is selected, the price will appear in the price field.

    Good luck!

    Stephen

  • Change the value in the field based on the drop-down list

    Let me start by saying that I consider myself as a rookie full when it comes to this program, but I'm learning. I have a drop down menu containing two choice (white or bright white) based on the selection in the drop-down list, I would like to change a field value to reflect the appropriate part number (Alpha numeric if it matters). I'll have 10 fields that will be either / or a value based on the selection. I searched the forums, but without understanding the terminology still, it is difficult to find the answer.

    Thanks for any help.

    Wayne

    Oh, OK.  So add "select" to the list and then on the value tab, select the default value: drop-down list and choose the item you want to appear by default.  I think that's what you're looking for.

  • When we choose the radiobutton control should display the drop-down list of choices...

    Hello

    Can u help me pls how to get the drop-down list option when we choose control radiobutton in the same screen.

    When deselect us it, he must hide the drop on the with on screen no matter what accent...

    Thanks in advance...

    u r Correct.

    Acutally we work on popupscreen with transparency.

    I use the 4.3 sound support for setmargin(4.5 doesn't).

    I went through the doc 4.5 Finally I got the result.

    I need to set the drop down just below the dropdown list how can I without no hardcode... pls let me know...

    now iam using setmargin (encode);

    If you have any advice that can help me in pls reffer me programming skills.

    I wil get u was pushing for the next...

    Thank you for your way of orientation...

  • Fill in the cc field, based on the drop-down list values

    I know this question has been posted before, but I am very new to this, and the answers I found to date are over my head.

    I am trying to create a submit button that will not only send email to a specific address, but also the carbon copy someone when their name is selected from a drop-down list in the form.

    I don't know much about javascript - and this seems to be the way to achieve this - but I do not know where to enter the JS to get this functionality or syntax. The field I use is called "Supervisor1", and I attributed values (e-mail addresses) to each of the names in the menu dropdown.

    Can someone help me get there?

    Thanks in advance!

    Hello

    If you are a beginner of script, you might think this useful macro.

    It can add a script to mail to a normal button.

    http://thelivecycle.blogspot.de/2012/05/mailto-maker-Marco-v1.html

  • Design of a PDF form to fill-in the drop-down list

    Design of a PDF form - how we copy the content of the 'text' of a drop-down list box to paste into "boxes" of several drop-down lists for the same shape?

    You can't copy and paste the values of the range of object definition, but you can copy and paste the object in its entirety... who would not do the same?

    Paul

  • Display the drop-down list boxes

    IM building a program that queries a database for options and display options in a number of comboBoxes. The comboBoxes are dynamically built and loaded through code and added to the stage. I would like to integrate the comboBoxes a simple clip (maybe not the correct wording) so I can use options like tweening and others to make it better. The code is below. Any suggestions are welcome...

    PS. the QueryDriver class is the class that provides the methods to load the comboBoxes.

    package classFiles

    {

    import flash.display.MovieClip;

    import classFiles.URLFactory;

    import classFiles.QueryBuilder;

    import flash.events.Event;

    import fl.controls.Button;

    import fl.controls.ComboBox;

    import fl.data.DataProvider;

    import flash.events.MouseEvent;

    import fl.controls.TextInput;

    import fl.controls.Label;

    import fl.controls.CheckBox;

    import flash.display.Shape;

    import fl.transitions.Tween;

    fl.transitions.easing import. *;

    /public class MainClass extends MovieClip

    {

    _UrlDriver:URLFactory private var;

    _QueryDriver:QueryBuilder private var;

    private var subBtn:Button = new Button();

    private var numbDays:TextInput = new TextInput();

    treatDays:TextInput private var;

    startDate:TextInput private var;

    endDate:TextInput private var;

    from_Btn:CheckBox private var;

    to_Btn:CheckBox private var;

    startDateString:String private var;

    endDateString:String private var;

    _xcoor:int private var;

    _yCoor:int private var;

    private var square: Shape;

    typeBx:ComboBox private var;

    dbBox:ComboBox private var;

    treatBx:ComboBox private var;

    indBx:ComboBox private var;

    stkBx:ComboBox private var;

    public void MainClass (xCord:int, yCord:int)

    {

    this.x = xCord;

    this.y = yCord.

    SetDaysToCalculateBx();

    CreateSubmitBttn();

    SetTreatmentDaysBx();

    SetStartDate();

    SetEndDate();

    SetStartChkBx();

    SetEndChkBx();

    _QueryDriver = new QueryBuilder ('hello');

    _QueryDriver.addEventListener ("SetDataBase", SetDbBox);

    _QueryDriver.addEventListener ("SetTreatments", SetTreatBx);

    _QueryDriver.addEventListener ("SetIndicators", SetIndBx);

    _QueryDriver.addEventListener ("SetStocks", SetStkBx);

    SetTypeBx();

    }

    function SetTypeBx (): void

    {

    typeBx = new more.

    var dp:DataProvider = new DataProvider (_QueryDriver.ReturnType ());

    typeBx.x = 200;

    typeBx.width = 200;

    typeBx.dataProvider = dp;

    typeBx.prompt = "Please select A Type;

    typeBx.addEventListener (Event.CHANGE, SetType);

    addChild (typeBx);

    }

    int SetType(e:Event):void

    {

    _QueryDriver.TYPE = e.target.value;

    }

    //DATABASES

    int SetDbBox(e:Event):void

    {

    dbBox = new more.

    var dp:DataProvider = new DataProvider (_QueryDriver.ReturnDatabases ());

    dbBox.y = 100;

    dbBox.dataProvider = dp;

    dbBox.width = 200;

    dbBox.prompt = "Please select a database";

    dbBox.addEventListener (Event.CHANGE, SetDB);

    dispatchEvent (new Event ("DataBaseReady"));

    addChild (dbBox);

    }

    //Event Listener for the database comboBox

    int SetDB(e:Event):void

    {

    var temp: String = e.target.value;

    var i: int = temp.indexOf('"');

    _QueryDriver.DATABASE = temp.substr(0,i);

    _QueryDriver.UpdateQueryString ();

    }

    //TREATMENTS

    int SetTreatBx(e:Event):void

    {

    treatBx = new more.

    var dp:DataProvider = new DataProvider (_QueryDriver.ReturnTreatments ());

    treatBx.y = 200;

    treatBx.dataProvider = dp;

    treatBx.width = 200;

    treatBx.prompt = "Please select A treatment."

    treatBx.addEventListener (Event.CHANGE, SetTreatments);

    addChild (treatBx);

    }

    //Event Listener for the database comboBox

    int SetTreatments(e:Event):void

    {

    var temp: String = e.target.value;

    var i: int = temp.indexOf('"');

    _QueryDriver.TREATMENT = temp.substr(0,i);

    _QueryDriver.UpdateQueryString ();

    }

    //INDICATORS

    int SetIndBx(e:Event):void

    {/ / trace ("hellO");}

    indBx = new more.

    var dp:DataProvider = new DataProvider (_QueryDriver.ReturnIndicators ());

    indBx.y = 300;

    indBx.dataProvider = dp;

    indBx.width = 200;

    indBx.prompt = "Please select an indicator."

    indBx.addEventListener (Event.CHANGE, SetIndicators);

    addChild (indBx);

    }

    //Event Listener for the database comboBox

    int SetIndicators(e:Event):void

    {

    var temp: String = e.target.value;

    var i: int = temp.indexOf('"');

    _QueryDriver.ENTITY = temp.substr(0,i);

    _QueryDriver.UpdateQueryString ();

    }

    //STOCKLIST

    int SetStkBx(e:Event):void

    {

    stkBx = new more.

    var dp:DataProvider = new DataProvider (_QueryDriver.ReturnStock ());

    stkBx.y = 700;

    stkBx.dataProvider = dp;

    stkBx.width = 200;

    stkBx.prompt = "Please select A Stock."

    stkBx.addEventListener (Event.CHANGE, SetStocks);

    addChild (stkBx);

    }

    //Event Listener for the database comboBox

    int SetStocks(e:Event):void

    {

    var temp: String = e.target.value;

    var i: int = temp.indexOf('"');

    _QueryDriver.STOCK_INDICATOR = temp.substr(0,i);

    _QueryDriver.UpdateQueryString ();

    }

    int CreateSubmitBttn()

    {

    subBtn.x = 350;

    subBtn.y = 350;

    subBtn.label = 'Submit ';

    subBtn.addEventListener (MouseEvent.CLICK, SubmitQuery);

    addChild (subBtn);

    }

    int SetDaysToCalculateBx()

    {

    numbDays.addEventListener (Event.CHANGE, SetDaysToCalculate);

    numbDays.x = 200;

    numbDays.y = 200;

    addChild (numbDays);

    }

    int SetTreatmentDaysBx()

    {

    treatDays = new TextInput();

    treatDays.addEventListener (Event.CHANGE, SetTreatmentDays);

    treatDays.x = 200;

    treatDays.y = 100;

    addChild (treatDays);

    }

    int SetStartDate()

    {

    var lbl:Label = new Sun;

    lbl.text = "Start";

    lbl.move (300,275);

    startDate = new TextInput();

    startDate.x = 275;

    startDate.y = 300;

    startDate.text = "";

    startDate.addEventListener (Event.CHANGE, StartDate).

    addChild (lbl);

    addChild (startDate);

    }

    int SetEndDate()

    {

    var lbl:Label = new Sun;

    lbl.text = "End";

    lbl.move (425,275);

    endDate = new TextInput();

    endDate.x = 400;

    endDate.y = 300;

    endDate.addEventListener (Event.CHANGE, EndDate);

    addChild (lbl);

    addChild (endDate);

    }

    int SetStartChkBx()

    {

    from_Btn = new CheckBox();

    from_Btn.y = 325;

    from_Btn.x = 275;

    from_Btn.label = "ALL";

    from_Btn.addEventListener (MouseEvent.CLICK, FromClickHandler);

    addChild (from_Btn);

    }

    int SetEndChkBx()

    {

    to_Btn = new CheckBox();

    to_Btn.y = 325;

    to_Btn.x = 400;

    to_Btn.label = "NOW";

    to_Btn.addEventListener (MouseEvent.CLICK, ToClickHandler);

    addChild (to_Btn);

    }

    int SetTreatmentDays(e:Event):void

    {

    _QueryDriver.TREATMENTDAYS = treatDays.text;

    }

    int SetDaysToCalculate(e:Event):void

    {

    _QueryDriver.DAYSTOCALCULATE = '-' + numbDays.text;

    }

    int FromClickHandler(e:MouseEvent):void

    {

    if (from_Btn.selected == true)

    {

    _QueryDriver.STARTDATE_STRING = "ALL";

    }

    else

    {

    _QueryDriver.STARTDATE_STRING = startDate.text;

    }

    }

    int ToClickHandler(e:MouseEvent):void

    {

    if (to_Btn.selected == true)

    {

    _QueryDriver.ENDDATE_STRING = "NOW";

    }

    else

    {

    _QueryDriver.ENDDATE_STRING = endDate.text;

    }

    }

    int StartDate(e:Event):void

    {

    trace (startDateString);

    }

    int EndDate(e:Event):void

    {

    trace (endDateString);

    }

    }

    }

    Yes, this is the way to do it, but don't forget to addChild the mclip as well... Here is a small example using the Tween class integrated...

    Import fl.transitions.Tween;

    var mclip:MovieClip = new MovieClip();

    mclip.addChild (aComboBox)

    mclip.addChild (aComboBox2)

    mclip.addChild (aComboBox3)

    addChild (mclip);

    var tw:Tween = new Tween (mclip, "x", null, mclip.x, mclip.x + 200, 1, true);

  • Value of the drop-down list instead of the text

    I want a drop-down list that includes complete definitions for the user to watch but when they choose the item they want only the abbreviation indicating on the form. For example, in my items list is said 'Illinois', but when they select "Illinois" she fills the field with the bind value of 'IT '. Is this possible?

    See the attached file... If it helps...

    I place a TextField on the top of the drop-down list and setting the rawValue selected the TextField... In the case of exit of the combo I hide list drop-down and display of the textfield object. Similarly, in the event you enter in the text field, I am displaying the drop-down list field and hide the text field.

    This way I can show 'IT' If you choose "Illinois" in the menu dropdown.

    https://Acrobat.com/#d=7Y0qDg-ld6nWNxw8G-0cNg

    Thank you

    Srini

  • What happened to the drop-down list next back and forth Often I want to go back two or three pages in a single jump, don't not clicking back, back, back!

    as the question says

    The drop-down list marker was removed from the Back/Forward button in Firefox 4.

    You can do one of the following:

    You need to update the following:

    • Adobe Shockwave for Director Netscape plug-in, version 11.0
    1. Check your plugin versions on one of the following links:

    2. Update to Shockwave for Director
      • NOTE: this is not the same thing as Shockwave Flash; This installs the Shockwave Player.
      • Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place, so you can find it).
      • When the download is complete, exit Firefox (file > exit)
      • Locate and double-click it in the installer that you just downloaded, let the complete installation.
      • Restart Firefox, and look at your plugins.
      • Download link and more information: http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
  • Defining form fields such as required based on the entry in the drop-down list

    I'm trying to set the properties of a few form fields as required in the case of a specific value is selected from a drop-down list.

    I entered the code of the tab actions from the drop-down list properties below > mouse down > run a java script. The problem is that it works only if I come out and enter again the drop-down list. "I tried to invoke the code with"Mouse down","Mouse entry", out of the mouse ' none of them worked unless I go out and again the drop-down list.

    Any suggestions?

    Thank you!

    var devused is this.getField ("device");.

    var comptype is this.getField ("Type of complaint");.

    var proname = this.getField ("product name");

    var feels = this.getField ("sent to the sponsor");

    If (comptype.value == 'Associated Product complaint') {}

    devused. Required = true;

    proname. Required = true;

    smells. Required = true;

    }

    else {}

    devused. Required = false;

    proname. Required = false;

    smells. Required = false;

    }

    What you describe is the way documented in what forms Acrobat and Acrobat JS behave by Form Event Processing

    For your described form, we can use a custom format for the field drop-down list script:

    If (event.willCommit! = true & event.changeEx! = "")
    {
    var devused = this.getField ("device");
    var proname = this.getField ("product name");
    Envoy of var = this.getField ("sent to the sponsor");
    Switch (Event.changeEx)
    {
    case "related product": complaint
    devused. Required = true;
    proname. Required = true;
    smells. Required = true;
    break; Go at the end of the switch;
    Repeat fdor each value of the option in the drop-down list.
    by default:
    If no match for the above cases, it is found;
    devused. Required = false;
    proname. Required = false;
    smells. Required = false;
    break;
    } / / end of switch event.changeEx;
    } / / end not true willCommit;

    You must set the ' Commit selected value immediately "and as one moves upwards or downwards the options, the related fields will change and stay together when you exit the field note that the field name is not used in the script because the field is the event object until it leaves the field.

  • 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.

Maybe you are looking for