Change text field based on dropdown

Hello,
I'm new to LiveCycle and am having trouble getting a textfield to change when I select different options in a drop-down menu.  I used the following script (tried using exit and calculate events also):
Still not working.  What am I doing wrong?  Do I need to change any properties of the TextField?

this.rawValue only holds the old value of the drop down list when you are scripting inside the change event. you need to to have
if ( xfa.event.newText == " BURIED W/ BOX")
     TextField7.rawValue = "CONSTRUCTION";
this will be on the change event of the dropdown in javascript

Similar Messages

  • Auto-populating text fields based on dropdown option

    This has probably been covered on this forum before.  I would like to auto-populate multiple text fields with pre-programmed data based on a user-selected option from a drop-down list.  The file here should explain clearly what I want to do:
    https://acrobat.com/#d=ID7ezZN5ZzIKgVvmgkyMiw
    Where can I find an example code that would accomplish this task?  Thanks.
    -Paul

    Your form data hierarchy is different than mine. You need the brackets also, otherwisethe first assignment statements executes only.
    // form1.#subform[0].DropDownList1::exit - (JavaScript, client)
    if (!(this.isNull)) {
      var char = this.rawValue;
      TextField41.rawValue = "Data " + char + "1";
      TextField42.rawValue = "Data " + char + "2";
      TextField43.rawValue = "Data " + char + "3";
    Steve

  • Update a text field based on a SelectOneChoice field

    Hi,
    I have a set of Create, Confirm and Thankyou screens. These screens are bound to a global view object. The create screen has a SelectOneChoice element which allows the user to pick an employee. When the selection is made, I need to display the employee's department in a read only text field below the dropdown. The Employees list(SelectOneChoice) is associated to the read only view object and this view object also has the employee's department information. Im dont know how to set the department name in the text field and refresh the screen. Any help is appreciated. Thank You.

    Frank, thanks for you time. Please see my answers below.
    Hi,
    can you help me creating a reproducable testcase
    based on the HR schema where we have a Departments
    and Employees tables. To understand your usecase I
    have some questions:
    Im not too familiar with HR Schema.
    >
    First of all however, what is a "global view object",
    and is it safe to assume you are using ADF Business
    Components?
    Its the "Globals View Object" as described in the SRDemo for creating a new Service Request and yes I am using ADF Business Components.
    >
    Which version of Oracle JDeveloper do you use ?
    10.1.3
    >
    The usecase I understand is that you have a
    selectOneChoiceList that whenever you select a new
    name should update a read-only text field with the
    department name. Is this correct ? Or is there more
    in it ?
    Heres the complete description. There are 4 fields on the screen
    1. Program Name (text input field, - required field)
    2. Program Category (SelectOneChoice field - required field)
    3. Employee Name (SelectOneChoice field - required field)
    4. Employee Department (Text output field - based on 3 above)
    What you have described above is working for me now, but everytime I select a value for 3, it does the required fields check and gives a message like "1 & 2 are required and a value must be entered", this validation should only occur when my continue button is clicked.
    >
    The department name should be displayed only (read
    only), or is it also bound to what you call "global
    view"?
    Yes its read only but I need to bind to the Globals view as I need to display it in the confirmation screen.
    >
    Also, just to be sure, is the department name part of
    the VO or is it the departmentId?
    The screen is bound to the Globals View, the selectOneChoice values are displayed from another view(EmployeeList view) which has the department name.
    >
    Frank

  • Limit the amount of characters of a text field based on first digit

    Hello and thanks in advance for your help!
    I would like to limit the amount of characters of the text field based on the first digit of the number (the text field is only limited to a number format...no decimals, no commas).
    For example, if the number begins with a 3, I would like to limit the text field to allow only ten characters. I have three scenarios but if I could get started with some code and what is the best place to add it (keystroke or validation?) I can take it from there. Thanks again for your help!!

    I've written this code for you that does that. Use it as the field's custom Keystroke code:
    // Validate that only digits are entered
    if (event.change) {
        event.rc = /^\d+$/.test(event.change);
    // Validate string length if it starts with 3
    if (/^3/.test(AFMergeChange(event))) {
        event.rc = AFMergeChange(event).length <= 10;
        if (!event.rc) app.alert("If the number starts with \"3\" it may not be longer than 10 digits.",1); // optional error message
    You can duplicate the second part of it for additional conditions, but keep in mind that this code won't even let you remove the first character in the field if the result is an invalid one.
    For example, if you enter "234567890123456" then you can't remove the "2" at the start because that would result in an invalid number. You can remove any of the other digits, though, and when it's 10 digits or less then you could remove the starting "2" as well.

  • Changing a field based on another field

    hi one and all
    i am looking for a way to change a field based on another field. if i have item 2 and item 8 on the page and item 8 needs to be required based on item 2 based on a requirement, how would this be done.
    ex if item 2 has a PO inputed, when it is moved off the field, item 8 should be changed from required false to required true. i have tried in both the process request and process form request with no luck
    any suggestions.
    thanks

    hello again
    after your input and after reviewing the tutorial ( which i accomplished based on data from a table but not a field ) , i did the following and have been fighting it for a day. am i doing this correctly
    on the itemid OrgRptCode1 i changed the action type to firePartialAction and the event is name o1
    then i added this code to see if the action would fire
    if (pageContext.getParameter("OrgRptCode1") !=null) // either line will be commented out
    if (pageContext.getParameter("o1") !=null) // either line will be commented out
    System.out.println("Field is not empty");
    else
    System.out.println("Field is empty");
    am i missing a step . also
    when i enter the page i get Field is empty. when i enter the field and tab off i get the error page w/ this msg
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1064)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1294)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2396)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1512)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.NullPointerException
         at uaboaf.oracle.apps.xxuab.hr.orghierarchy.webui.manageOrgCO.processFormRequest(manageOrgCO.java:289)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:734)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:943)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1546)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:373)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:340)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2392)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1512)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.NullPointerException
         at uaboaf.oracle.apps.xxuab.hr.orghierarchy.webui.manageOrgCO.processFormRequest(manageOrgCO.java:289)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:734)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:943)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1546)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:373)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:929)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:895)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:751)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:352)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:340)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2392)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1512)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

  • HELP! Script to populate a text field based off of whats picked in a dropdown on a previous page?

    Alright hopefully i can explain this good enough.
    I have a dropdown box that has two different options to pick from.  For example:
    Dropdown1 has:  Option A
                             Option B
    On the other page I have two text fields.  TextField1 just shows whatever is picked from the Dropdown1 (Option A or Option B).  TextField2 needs to do the following:  If Option A is picked i just need the field to stay blank.  If Option B is picked i need it to populate specific text.
    I thought i figured out a way to do this but it seems that since it is on a different page the script will not fire.
    Any help is much appreciated!!!!!!

    Hi,
    With the first issue: having the dropdown and the first textfield displaying the same value, the easy solution is to use Global Binding.
    Make sure that the dropdown and the first textfield have the same name in the hierarchy.
    The select one of them and in the Object > Binding palette, set the binding to Global.
    In the dropdown go to the Object > Binding palette and make sure that "Specify values" is NOT ticked.
    It is probably a good idea to set the textfield to read only, in the Object > Value palette. This would prevent the user overwriting the value set by the dropdown.
    No script required. Whatever is in the dropdpwn will appear in the textfield.
    The second issue needs a small script in the calculate event of the second textfield. This looks at the value in the first textfield (TextField1) and sets its own value. This is JavaScript:
    if (TextField1.rawValue == "Option B")
         this.rawValue = "Specific text";
    else
         this.rawValue = null;
    There are some examples here: http://assure.ly/jtTkdO, http://assure.ly/fYCuQ2.
    Hope that helps,
    Niall

  • How do you auto-populate a text field based on entries in other text fields?

    I would like to be able to have a text field that populates as "Complete" or "Incomplete" based on whether all the mandatory text fields have been filled out or not.
    For example, if the "First Name," "Last Name," and "City" text fields are not filled out, the "completion status" text field will show "Incomplete" and once they are filled out, the "completion status" text field will turn into "Complete."
    How would I do this using javascript? I've searched the web for a tutorial, but most of the results seem to be dropdown-centric.
    Please point me in the right direction!

    Try the script below. I put this on the calculate event for Field1
    if(FirstName.rawValue == null || LastName.rawValue == null || City.rawValue == null){
    Field1.rawValue = "Incomplete"
    else
    Field1.rawValue = "Complete"

  • How to script text field based on checkbox selection

    I've written a script to format specific text boxes based on what checkbox is chosen. However, I'm not sure what I need to script in order to CLEAR the text field once the checkbox is unchecked. As it stands now if the checkbox is selected it formats the text field with the necessary information, but if it's unchecked the information stays in the box. I'd like to be something like 'if all boxes are Off then display 0.00.' I've included the current script for reference
    var one = this.getField("Emp 500");
    var two = this.getField ("Emp+C500");
    var three = this.getField("Emp+S500");
    var four = this.getField("Fam500");
    var five = this.getField("NC500");
    var six = this.getField("Medical");
    if (one.value == 'Yes') {six.value='70.70'}        
    else if (two.value ==
    'Yes') {six.value='127.20'}
    else if (three.value == 'Yes') {six.value='141.32'}
    else if (four.value == 'Yes') {six.value='198.00'}
    else if (five.value == 'Yes') {six.value='0'}
    var one = this.getField("Emp 1500");
    var two = this.getField ("Emp+C1500");
    var three = this.getField("Emp+S1500");
    var four = this.getField("Fam1500");
    var five = this.getField("NC1500");
    var six = this.getField("Medical");
    if (one.value == 'Yes') {six.value='61.47'}
    else if (two.value == 'Yes') {six.value='110.49'}
    else if (three.value == 'Yes') {six.value='141.32'}
    else if (four.value == 'Yes') {six.value='123.04'}
    else if (five.value == 'Yes') {six.value='0.00'}

    Hi Gayathri,
    Gayathri Venugopal wrote:
    Hi,
    I have two text items. Need to create dynamic action for the following,
    1. Order_type - Drop down values having CONSUMER & WHOLESALE.
    2. Order_number- Text field
    Order number should be disabled and only on selection of order type ,order number should be enabled.
    Can someone please help me on this?
    Create two dynamic action
    1. Make it order number item disable on page load.
       Event : Page Load
       Action : Disable
       Fire When event result is : True
       Selection Type : Item
       Item : Your order number item
    2 . enable and disable order number on selection of order type(assuming when order type is null it is disable otherwise it is enable)
        Event : Change
        Selection type : item
        Item : your order type item
        condition : is not null
    True Action
        Action : Enable
        Fire When event result is : True
        Fire on page load : True
        Selection Type : Item
        Item : Your order number item
    False Action
        Action : Disable
        Fire When event result is : False
        Fire on page load : True
        Selection Type : Item
        Item : Your order number item
    Hope this helps you,
    Regards,
    Jitendra

  • Safari 5.1.2 keeps changing text field randomly on text input

    Hello everybody.
    Safari keeps changing the text field on input, do you know how to correct this issue?
    Here is an example:
    Let's say I load www.google.com, it appears in the safari window as usual.
    Suppose I begin to type a search in the google search field at the top right of the safari window (not the one on the google page)
    if when doing this the sentence is long for the search, at some point randomly, the rest of the text will be entered this time in the google search text field on the google page! (which is the very next text field) So when I hit enter it makes google search half of my request...
    Safari changed the text field I was into with no warning. I want to say I do not press tab at any moment.
    This is annoying really, and this does not appear anywhere else than in Safari. It seems the issue is not systematic, but appears quite often.
    I have no universal access setting except "enable access for assistive device"
    I had to check this box upon installing a software in the past but I can't remember what it was.
    Perhaps the problem I have is linked to some window refreshing?
    Thank you for your suggestions or help
    Mac Pro, 10.6.8

    Try deleting the cache associated with Safari ...
    Quit Safari.
    Go to ~/Library/Caches/com.apple.Safari/Cache.db.
    Move the Cache.db file to the Trash.
    Relaunch Safari to test.
    I had to check this box upon installing a software in the past but I can't remember what it was.
    Open System Preferences > Universal Access
    Make sure the box next to:  Enable access for aassitive devices is deselected.

  • Validating text field based on 2 other fields.

    I've tried a string of if/else but somewhere I am missiing something.
    I've assigned variables to my fields and I will use them here.
    vdd1 = a dropdown with 5 options, " ", "Breakfast", "Lunch" "Dinner" and "Snack"
    vMad1 = A text field into which the user enters a dollar amount
    var vdd1 = this.getField("DropDown1").value;
    var vMar1 = this.getField("MealsAmountRow1").value;
    Here is what I need in English.
    If (vdd1 = "Breakfast") and (vMad > 25) then app.alert("NOTE: The amount you have entered exceeds the $25.00 per day breakfast limit.  Please reduce the amount to $25.00", 3)
    If (vdd1 = "Lunch") and (vMad > 35) then app.alert("NOTE: The amount you have entered exceeds the $35.00 per day lunch limit.  Please reduce the amount to $35.00", 3)
    If (vdd1 = "Dinner") and (vMad > 65) then app.alert("NOTE: The amount you have entered exceeds the $65.00 per day dinner limit.  Please reduce the amount to $65.00", 3)
    If (vdd1 = "Snack") and (vMad > 25) then app.alert("NOTE: The amount you have entered exceeds the $25.00 per day snack limit.  Please reduce the amount to $25.00", 3)

    You've almost got it. Try this:
    var vdd1 = getField("DropDown1").value;
    var vMad1 = +getField("MealsAmountRow1").value;
    if (vdd1 === "Breakfast" && vMad1 > 25) {
        app.alert("NOTE: The amount you have entered exceeds the $25.00 per day breakfast limit.  Please reduce the amount to $25.00", 3);
    } else if (vdd1 === "Lunch" && vMad1 > 35 {
        app.alert("NOTE: The amount you have entered exceeds the $35.00 per day lunch limit.  Please reduce the amount to $35.00", 3);
    } else if (vdd1 = "Dinner" &&  vMad1 > 65) {
        app.alert("NOTE: The amount you have entered exceeds the $65.00 per day dinner limit.  Please reduce the amount to $65.00", 3);
    } else if (vdd1 = "Snack" && vMad1 > 25) {
        app.alert("NOTE: The amount you have entered exceeds the $25.00 per day snack limit.  Please reduce the amount to $25.00", 3);
    The biggest problem is it's not clear when you want this code to be triggered. Where do you currently have it placed?

  • Using external XML document to update / change text fields inside of published captivate output.

    Hello
    I currently have a project where the client has requested to have the ability to update the text fields inside the project at a later date.
    This is due to the nature of the content changing rather rapidly, i would like to set this up so the client can manage this them selfs.
    What would the best way to do this be?
    I'm thinking XML, an external XML sheet were by Captivate imports the text from this XML sheet and then displays it within the specific text fields contained within the captivate output.
    This way the client would just update the external XML document(cut and paste the text in) and then the text would be dynamically updated in the published Captivate document.
    any help would be amazing !
    Thanks in advance
    Nick

    Hi Lieve
    But isn't this thread more about an end user having an ability to change text after the Captivate has been published and delivered? I could see where that might be useful if making changes then publishing to create a new output. But I'm interpreting that the situation here is that a Captivate project has been published and delivered, and some mechanism is desired that allows the recipient to modify an external XML file to influence changes in the already compiled Captivate output.
    Cheers... Rick

  • Merge pdf's forms, change text field name and Acrobat x pro closes automatically

    I merged 20 pdfs in one interactive pdf, but when I try to change the name of the text fields (in orden to make the interactive independent from the other fields) the program close automatically. I tried to change the name of the text fields in each pdf before merge and it's the same problem. what can i do?

    I merged 20 pdfs in one interactive pdf, but when I try to change the name of the text fields (in orden to make the interactive independent from the other fields) the program close automatically. I tried to change the name of the text fields in each pdf before merge and it's the same problem. what can i do?

  • Dynamic Action - How to enable  text field based on a condition

    Hi,
    I have two text items. Need to create dynamic action for the following,
    1. Order_type - Drop down values having CONSUMER & WHOLESALE.
    2. Order_number- Text field
    Order number should be disabled and only on selection of order type ,order number should be enabled.
    Can someone please help me on this?

    Hi Gayathri,
    Gayathri Venugopal wrote:
    Hi,
    I have two text items. Need to create dynamic action for the following,
    1. Order_type - Drop down values having CONSUMER & WHOLESALE.
    2. Order_number- Text field
    Order number should be disabled and only on selection of order type ,order number should be enabled.
    Can someone please help me on this?
    Create two dynamic action
    1. Make it order number item disable on page load.
       Event : Page Load
       Action : Disable
       Fire When event result is : True
       Selection Type : Item
       Item : Your order number item
    2 . enable and disable order number on selection of order type(assuming when order type is null it is disable otherwise it is enable)
        Event : Change
        Selection type : item
        Item : your order type item
        condition : is not null
    True Action
        Action : Enable
        Fire When event result is : True
        Fire on page load : True
        Selection Type : Item
        Item : Your order number item
    False Action
        Action : Disable
        Fire When event result is : False
        Fire on page load : True
        Selection Type : Item
        Item : Your order number item
    Hope this helps you,
    Regards,
    Jitendra

  • Changing some fields based on Attribute Choice

    Hi BC community - looking for some help.
    One of my clients, requires a cumulative volume discount from 3 products.  The only way I could do this in BC was to create one product, and add different flavor choices as an attribute.  This works great.  Now, I have a small problem.  She wants some of the fields to change depending on which attribute drop down is chosen.  We need to be able to change a few different things:
    - Product Name (would then become the Attribute Name)
    - Large Product Image
    - And a text field (I am currently using my only available text field of {tag_tags} for this particular content.
    Any suggestions? I see there is a choice for the Product Image from this link: Business Catalyst Help | Manage product inventory but I need to change some other text.
    Thanks in advance!
    Aaron

    I was hoping to avoid doing that.
    I considered making a wizard style interface to do it with
    multiple steps, but when I do that and resubmit the page to itself,
    I lose page elements such as my nav bar and head( they ae included
    in all pages)
    Is there some other way I can handle this?

  • Changing text  field (need more positions) of variant ZUK01 in FF67

    I am using a variant called ZUK01 in FF67. In that variant I have a Line item text field, but with not enough positions.
    Is it possible to change the field properties so I can change the positions of the field?
    I want to use the variant but need to feel in more text then I have positions.
    Is it possible to change it? So yes where can I find it?

    Hi,
    You could go to OT43 tcode (screen variant maintenance for manual bank statement); double click on your variant and note down your Field name (for text); then click on "Technical names" and note down the table and field for that field name. Then, from SE11; you can find out how many characters that field (data element) allows. Then, you can talk to ABAP team member for the possibilities: to enhance that data element or use another field for your purpose.
    Mani

Maybe you are looking for