Help setting validation based on route selected

If the LC form only has one submit button, how do you set a validation on submit based on the route selected when running forms in workspace?
For example, if users have the option to Approve or Reject a form, can you determine which route they have selected and validate fields accordingly? So that if "reject" is selected we can validate that the reject comment field was completed, and if "approve" is selected we can validate that the form was signed?  Is there some property of the submit button or process field that makes this distiction?
Thanks for your help!

You can use a JavaScript if-else statement on the preSubmit event of the button. Do a check to see which of the fields are populated, then perform the required action.
You could even hide the buttons, then if the user fills in a comment in the reject field, you simply show the reject button and keep the approve button hidden. You could have a pop-up when the form opens informing the user of the document's steps / process.

Similar Messages

  • Setting validation based on condition on custom list

    Hi,
    I have a custom Image library. I have two custom columns created as part of metadata.
    One is a dropdown choice column, which contains 2 values - "Free", "Paid".
    I also have a datepicker column (date only). 
    I would like to set a validation based on below condition:
    If dropdown selected is "Paid", then date should be mandatory field.
    Can this be achieved OOB or a JSLink is required.
    How to achieve this?
    Thanks 

    Hi Vankatzeus,
    You can achieve this using Javascript. In New and edit forms of your list, add a content editor webpart with the script explained below -
    There is a PreSaveAction() function that you can use to do a custom validation. Before submitting any item, sharepoint first do the validation in PreSaveAction().
    function PreSaveAction() {
      //Step 1 - Read the choice and date fields. 
    // Step 2 - If choice is 'PAID' and 'date' field is blank { alert('Date can't be blank'); return false;} else {return true;}
    In Step 1, write a script that read values from choice and date fields. You can take the script from
    here and modify it just to read choice and date fields.
    Cheers,
    Manvir

  • Need help setting up second actiontec router

    Need step by step instructions to add a second actiontec router over coax to increase by wifi range to a different part of the house. I have verizon fios 73/35. I recently upgraded by router to the Actiontec rev I and I would like to use the left over router (also an Actiontech router) in a area with poor wifi coverage. My main router is an Actiontect rev I that I have my computer hooked up to. What is the procedure to make this work. I hear I have to make it a MoCa connection and use it as an access point. I'm moderately challenged when it comes to understanding all this computer jargon and need some help in basic laymens terms. (I do learn easily though and willing to get technical). THanks

    I used this document myself when I did the same thing. Sounds like you'll want to start with step 2.
    https://secure.dslreports.com/faq/15984

  • Need help setting up my d-link wireless router to my imac

    I need some help trying to set up my D-Link WBR 2310 wireless router to my iMac. I currently have Bell Sympatico high speed.
    The reason I want to set up the wireless router is because my girlfriend works from home sometimes with her office computer downstairs and needs a wireless connection (she has a PC). I tried to call D-Link, but they're useless.
    Anyways, any help would be greatly appreciated. It would be great to know what settings to change and as much step by step info as possible. I realize it's probably pretty simple to set up, but I'm fairly new to Macs and also to wireless.
    Thanks again

    Hello, 
    Connect the D-Link to the iMac by Ethernet.
    Open Safari (or Firefox)
    Navigate to http://192.168.1.1
    Enter your password (default user is Admin and password "admin" - change it!)
    Find the Wireless Security section and change the SSID to your own name i.e. "home network" .
    Set the Encryption setting to "WPA" and enter a password of your choice. This is the encryption key and is different to the router's admin password.
    Configure the WAN part of the router (which will vary depending on your ISP).
    Configure the DHCP to serve clients (should be a simple on/off).
    Disconnect the iMac
    Go to the iMac and turn on Airport on (on the menu bar).
    When the iMac finds your SSID select it and enter the encryption password.
    Check to allow Keychain to store that detail.
    Hope that helps
    mrtotes

  • Create a filtered list based on the selection in another field? URGENT HELP NEEDED

    Hi,
    Hoping someone can help me with something I am working on. i am fairly new to creating forms in acrobat (know how to us the full range of very basic features) but I have now found myself needing some help.
    i am producing an order form, and I need to create a filtered dropdown list based on the value selected in another field.
    basically, when a user select the company chooses their Business Name from a dropdown list, I would like their deliver address to self populate. In some cases there may be a few options for the company delivery address so in these cases the second option would be a dropdown list of the options available for that company.
    i have attached a screenshot, it is the Fields "Business Name" and "delivery Address/Delivery Postcode" that i would like to be linked so that the option in Business Name filtered the options in delivery Address
    Hope someone out there has the time to help me with this, i am using Acrobat Pro DC
    many Thanks
    Lee

    This will require a complex, custom-made script. The basic functionality of populating another field based on a selection in a drop-down is not that complicated, but if you want it to also populate other drop-downs (and then presumably use them to populate other fields), it will require a more complex solutions.
    This tutorial is relevant for your question: https://acrobatusers.com/tutorials/change_another_field

  • How can i set dynamice for week on Selection screen..pls help me..Urgent

    Hi..All
    please Help me .. i am very  confused..
    i need to set a varient for week which is dynamic on selection screen.
    b) Week from current week to current week + 2. (<b>Dynamic selection)</b>how can i set dynamice for week on Selection screen,,
    how can i do this..i am alrady set dynamice variant for Date.. there is option for D.. but in case of week there is a no option.
    pls help me..urgent
    thamks in advance.
    mayukh

    Hi,
    I think the way out is use the dynamic select option while setting up the varinat and use sy-datum to sy-datum+9 which should essentially serve the purpose.
    While saving the variant, for that particular date field check the Selection variable checkbox, then Choose D
    option and then choose current days + or - option from there.
    Rgds,
    HR

  • Need help Setting up Multiple Static Ip , 1 for each port of the fios router

    Need help Setting up multiple Static Ip on my fios router
    I have been trying to figure out how to set up multiple ip in my fios router.
    However I kind of managed how to set up multiple static ip However the way I want it is for each port of my router to have an external ip signed to it. ( like 4 different modem in 1 )
    Verizon gave me 5 static ip but they can not help me how to set it up.
    Have anyone here done more then one static ip on different ports? I assume that the process will be the after the second static ip.

    You want to set up Static Nat. You will not assign the IP to a port, but rather to a local machine. Figure out what machines you want your IP's to go to. Under the firewall section you will see static nat. Pick the machine you want and enter one of the IP's you were assigned.

  • Dynamic F4 help for workcenter based on plant given in select-option

    Hi all,
    I need to give F4 help on work center based on plant values in the select-options in the selection screen. I am using the FM DYNP_VALUES_READ to get the low and high values in the plant  field of selection screen. The problem is i do not know how to fetch the extension values of s_werks. dynpro fields what i am passing is s_werks-low and s_werks-high. But how will i name the extension field of s_werks. Even i have tries giving only s_werks. But FM is giving invalid dynpro field exception . Please help on this.

    You need to use FM DYNP_VALUES_READ to read values entered on selection screen and then you need to use FM F4IF_INT_TABLE_VALUE_REQUEST.
    FM DYNP_VALUES_READ can read the values of screen fields
    You have to use the function module DYNP_VALUES_READ to read the selection screen data after u enter the field value in Plant . Based on that, then call the function module F4_INT_VALUE_REQUEST. And this function module will
    retrive based on the value enter on the field1.
    F4IF_INT_TABLE_VALUE_REQUEST
    This function module displays a value list that you created in an ABAP program. The value list is passed to the function module as the table parameter VALUE_TAB. If you specify the import parameters DYNPPROG, DYNPNR, and DYNPROFIELD, the user’s selection is returned to the corresponding field on the screen. If you specify the table parameter RETURN_TAB, the selection is returned into the table instead.
    Have a look at below sample code:
    If you have two parameters, you want to display values(f4) in parameter 2 depending on the values entered in parameter 1.
    REPORT Z_SRI_HELP_VALUE_FOR_TABLES .
    tables tcurt.
    DATA DYFIELDS LIKE DYNPREAD OCCURS 1 WITH HEADER LINE.
    PARAMETERS: P_WAERS LIKE TCURT-WAERS, "Currency
    P_LTEXT LIKE TCURT-LTEXT, "Long Text
    P_KTEXT LIKE TCURT-KTEXT. "Short Text
    Example of updating value of another field on the screen
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_WAERS.
    CLEAR: DYFIELDS[], DYFIELDS.
    *select currency
    CALL FUNCTION 'HELP_VALUES_GET'
    EXPORTING
    fieldname = 'WAERS'
    tabname = 'TCURT'
    IMPORTING
    SELECT_VALUE = P_WAERS.
    get long text for the selected currency
    SELECT SINGLE LTEXT FROM TCURT
    INTO DYFIELDS-FIELDVALUE
    WHERE SPRAS = SY-LANGU
    AND WAERS = P_WAERS.
    IF SY-SUBRC 0.
    CLEAR DYFIELDS-FIELDVALUE.
    ENDIF.
    update another field
    DYFIELDS-FIELDNAME = 'P_LTEXT'.
    APPEND DYFIELDS.
    CALL FUNCTION 'DYNP_VALUES_UPDATE'
    EXPORTING
    DYNAME = SY-CPROG
    DYNUMB = SY-DYNNR
    tables
    dynpfields = DYFIELDS .
    Example of reading value of another field
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_KTEXT.
    *read another field
    CLEAR: DYFIELDS[], DYFIELDS.
    DYFIELDS-FIELDNAME = 'P_WAERS'.
    APPEND DYFIELDS.
    CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
    DYNAME = SY-CPROG
    DYNUMB = SY-DYNNR
    TABLES
    DYNPFIELDS = DYFIELDS .
    READ TABLE DYFIELDS INDEX 1.
    get short text and update current field
    SELECT SINGLE KTEXT FROM TCURT
    INTO P_KTEXT
    WHERE SPRAS EQ SY-LANGU
    AND WAERS EQ DYFIELDS-FIELDVALUE.
    Have a look at below sample code:
    REPORT ZTEST_F4 .
    DATA : BEGIN OF ITAB OCCURS 0,
    NAME LIKE KNVK-NAMEV,
    E_MAIL LIKE ADR6-SMTP_ADDR,
    END OF ITAB.
    PARAMETER : P_EMAIL LIKE ADR6-SMTP_ADDR.
    INITIALIZATION.
    ITAB-NAME = 'A'.
    ITAB-E_MAIL = email@removed '.
    APPEND ITAB.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_EMAIL.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    RETFIELD = 'E_MAIL'
    DYNPPROG = 'ZTEST_F4'
    DYNPNR = '1000'
    DYNPROFIELD = 'P_EMAIL'
    VALUE_ORG = 'S'
    TABLES
    VALUE_TAB = ITAB
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3
    Another Code sample:
    REPORT DEMO_DYNPRO_F4_HELP_MODULE.
    TYPES: BEGIN OF VALUES,
    CARRID TYPE SPFLI-CARRID,
    CONNID TYPE SPFLI-CONNID,
    END OF VALUES.
    DATA: CARRIER(3) TYPE C,
    CONNECTION(4) TYPE C.
    DATA: PROGNAME LIKE SY-REPID,
    DYNNUM LIKE SY-DYNNR,
    DYNPRO_VALUES TYPE TABLE OF DYNPREAD,
    FIELD_VALUE LIKE LINE OF DYNPRO_VALUES,
    VALUES_TAB TYPE TABLE OF VALUES.
    CALL SCREEN 100.
    MODULE INIT OUTPUT.
    PROGNAME = SY-REPID.
    DYNNUM = SY-DYNNR.
    CLEAR: FIELD_VALUE, DYNPRO_VALUES.
    FIELD_VALUE-FIELDNAME = 'CARRIER'.
    APPEND FIELD_VALUE TO DYNPRO_VALUES.
    ENDMODULE.
    MODULE CANCEL INPUT.
    LEAVE PROGRAM.
    ENDMODULE.
    MODULE VALUE_CONNECTION INPUT.
    CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
    DYNAME = PROGNAME
    DYNUMB = DYNNUM
    TRANSLATE_TO_UPPER = 'X'
    TABLES
    DYNPFIELDS = DYNPRO_VALUES.
    READ TABLE DYNPRO_VALUES INDEX 1 INTO FIELD_VALUE.
    SELECT CARRID CONNID
    FROM SPFLI
    INTO CORRESPONDING FIELDS OF TABLE VALUES_TAB
    WHERE CARRID = FIELD_VALUE-FIELDVALUE.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    RETFIELD = 'CONNID'
    DYNPPROG = PROGNAME
    DYNPNR = DYNNUM
    DYNPROFIELD = 'CONNECTION'
    VALUE_ORG = 'S'
    TABLES
    VALUE_TAB = VALUES_TAB.
    ENDMODULE.
    The screen flow logic is as follows:
    PROCESS BEFORE OUTPUT.
    MODULE INIT.
    PROCESS AFTER INPUT.
    MODULE CANCEL AT EXIT-COMMAND.
    PROCESS ON VALUE-REQUEST.
    FIELD CONNECTION MODULE VALUE_CONNECTION.
    For the Flight number field, the POV module VALUE_CONNECTION is called. The
    function module DYNP_VALUE_READ transports the value of the screen field CARRIER into the program. The program then reads the corresponding values from the database table SPFLI into the internal table VALUES_TAB using a SELECT statement, and passes the internal table to F4IF_INT_TABLE_VALUE_REQUEST. This displays the internal table as input help, and places the user’s selection into the screen field CONNECTION.
    I hope it helps.
    Best Regards,
    Vibha
    Please mark all the helpful answers

  • Getting index of a string array based on user selection in a comboBox

    I'm not really sure how to phrase my questions, but here goes.
    I have created a string array that holds the values of a ComboBox. Based on which selection the user makes in the comboBox, I need the program to then perform particular calcualtions (based on their selection). I have tried using an ItemListener, but that doesn't seem to work. I've also tried using the ActionListener connected to the ComboBox, again...without results. I'm not sure what I'm looking for exactly, but I know what I want it to do, I'm just not finding the right way to do it. Can anyone help me figure this out?

    Here is my entire code. I'm completely confused at where to put the ActionListener or how to make it do what I want. Right now I just have it set up to display a simple message in the displayArea, just so that I could see if it was working. I think once I figure out how to get the right index from the ComboBox array, then I'll be able to add the code I need to perform the calcualtions...it's just getting to that step that's not going so well! Any help is appreciated.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.text.DecimalFormat;
    import java.lang.String;
    public class MortCalcSR5 extends JFrame implements ActionListener
         int term = 0;
         double principal = 0;
         double rate = 0;
         double monthlyPyment = 0;
         double interest = 0;
         String[] loanChoices = {" ", "7 years @ 5.35%", "15 years @ 5.5%", "30 years @ 5.75%"};
         //create panel for input
         JPanel inputPanel = new JPanel();
              JLabel mortAmtLabel = new JLabel("Mortgage Amount $");
              JTextField mortAmtField = new JTextField(15);
              JLabel loanSelectionLabel = new JLabel("Loan Selection");
              JComboBox loanSelection = new JComboBox(loanChoices);
              JTextField loanSelected = new JTextField(15);
         //create button panel
         JPanel buttonPanel = new JPanel();
              JButton calcButton = new JButton("Calculate");
              JButton clearButton = new JButton("Clear");
              JButton exitButton = new JButton("Exit");
         //create panel for payment information
         JPanel paymentPanel = new JPanel();
              JLabel paymentLabel = new JLabel("Monthly Payment $");
              JTextField paymentField = new JTextField(15);
         //create panel for text box information
         JPanel textPanel = new JPanel();
              JLabel numPaymentLabel = new JLabel("Payment #");
              JLabel balLabel = new JLabel("Balance");
              JLabel ytdPrincLabel = new JLabel("Principal");
              JLabel ytdIntLabel = new JLabel("Interest");
         //create payment for display area
         JPanel displayPanel = new JPanel(new FlowLayout());
              JTextArea displayArea = new JTextArea(10,30);
              JScrollPane scroll = new JScrollPane(displayArea, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
         public MortCalcSR5()
              //set size of GUI display
              setSize(400,450);
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              Container pane = getContentPane();
              JScrollPane scroll = new JScrollPane (displayArea, JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
              FlowLayout layout = new FlowLayout(FlowLayout.LEFT);
              pane.setLayout(layout);
              //add components to the inputPanel
              GridLayout layout2 = new GridLayout(4,1);
              inputPanel.setLayout(layout2);
              inputPanel.add(mortAmtLabel);
              inputPanel.add(mortAmtField);
              mortAmtField.setText(" ");
              inputPanel.add(loanSelectionLabel);
              inputPanel.add(loanSelection);
              loanSelection.addActionListener(this);
              pane.add(inputPanel);
              //add components to buttonPanel
              FlowLayout layout3 = new FlowLayout(FlowLayout.CENTER, 10, 10);
              buttonPanel.setLayout(layout3);
              buttonPanel.add(calcButton);
              buttonPanel.add(clearButton);
              buttonPanel.add(exitButton);
              pane.add(buttonPanel);
              //add listeners to buttons
              calcButton.addActionListener(this);
              clearButton.addActionListener(this);
              exitButton.addActionListener(this);
              //add components to outputPanel
              FlowLayout layout4 = new FlowLayout(FlowLayout.LEFT, 10,10);
              paymentPanel.setLayout(layout4);
              paymentPanel.add(paymentLabel);
              paymentPanel.add(paymentField);
              pane.add(paymentPanel);
              //add components to textPanel
              FlowLayout layout5 = new FlowLayout(FlowLayout.LEFT, 10,10);
              textPanel.setLayout(layout5);
              textPanel.add(balLabel);
              textPanel.add(ytdPrincLabel);
              textPanel.add(ytdIntLabel);
              pane.add(textPanel);
              //add components to displayPanel
              FlowLayout layout6 = new FlowLayout(FlowLayout.CENTER,10,10);
              displayPanel.setLayout(layout6);
              displayPanel.add(scroll);
              pane.add(displayPanel);
              setContentPane(pane);
              setVisible(true);
         public void actionPerformed(ActionEvent event)
              String fs = (String)loanSelection.getSelectedItem();
              if (fs.equals("7 years @ 5.35%"))          {
                   displayArea.setText("yay");
              else
                   displayArea.setText("blah");
              JButton command = (JButton)event.getSource();
              if(command==calcButton)  //calculate button clicked - run payment event
                   Payment();
              if(command==clearButton) //clear button clicked - clear all fields
                   mortAmtField.setText(null);
                   paymentField.setText(null);
                   displayArea.setText(null);
                   loanSelected.setText(null);  //hidden text field still needs to be cleared
                   //loanChoices = null;
              if(command==exitButton)  //exit button clicked - exit program
                   System.exit(0);
         public void Payment()
              //perform the calculations
    //          int mortAmt = Integer.parseInt(mortAmtField.getText());
         //     double loanSelect = Double.parseDouble((String)loanSelected.getText());
              displayArea.append("Calcualations performed!");
         public static void main(String[] args)
              new MortCalcSR5();
    /*/calculations
         int mortAmt = Integer.parseInt(mortAmtField.getText());  //get text user entered in mortAmt field - parse it from a string to integer
         int loanTerm = Integer.parseInt(loanTermField.getText());  //get text user entered in loanTerm field - parse it from a string to integer
         double interestRate = Double.parseDouble(interestRateField.getText());  //get text user entered in interestRate field - parse it from a string to double
         int moTerm = (loanTerm*12);  //calculate monthly loan term
         double moInterest = ((interestRate/100)/12);  //calculate monthly interest rate
         double payment = mortAmt*(moInterest/(1-Math.pow(1/(1+moInterest), moTerm)));  //calculate monthly payment amount
         valid = true;  //number format is accepted
         paymentField.setText(Double.toString(payment));  //display output
    */

  • Help with a new RV082 Router

    Greetings all,
    I hope this is the correct place to post my request for help.
    I just installed a new RV082 Router and I can access the internet without any problems.
    We have a security camera at 192.168.1.28 on the LAN side.  This works just fine on the LAN side but cannot be accessed from remote machines trying to log into the camera remotely.
    The camera can be access on port 2782 without any problems using my Linux based Smoothwall router by going to any web browser such as Firefox or IE8 by keying in: http://xxx.xxx.xxx.xx:2782 and the camera’s web interface comes up allowing a user to login by keying in their id and password.
    I’ve tried for a few hours now to change firewall setting but I still can’t get this to allow anyone to login remotely.
    The Smoothwall router allows me to setup a pass through in the firewall by creating the follow entry:
    Protocol                                  TCP
    External Source IP                ALL
    Source Port                           2782
    Destination IP                        192.168.1.28
    Destination Port                    2782
    This works without any problems.
    Can anyone help be configure the RV082 in order to gain access to the camera?
    Any help will be appreciated.  This is now driving me crazy.
    Thanks

    Hi Howard,
    To forward the port in the RV082, go to Setup-> Forwarding. Click the Service Management and create a new service for port 2782 (i.e. Service Name IPCam, Protocol TCP, Port Range 2782 to 2782, Add to list, Save Setting) Go back to Forwarding and select the new Service from the drop down list. Enter the IP address of the camera and check the Enable box. Add to list and Save Settings at the bottom of the page. Please let us know if this works or if you need further assistance.

  • Tablix Data mapping based on parameters selected.

    I ahve a report that is for variable based on the parameters selected. Parameter 1 is TableName, it lets the user select the table from the database that they would like to see the clolumns for. From there the second parameter is the Column names from the
    table that was selected. I can get the headers to show based on the selection but not the actual data.
    I've got this query that i created in SQL that works if input the parameters but i cannot figure out how to tie in the data to the report tablix.
    DECLARE @Column_Name VARCHAR(500)
    DECLARE @Table_Name VARCHAR(100)
    DECLARE @sql_str VARCHAR(500)
    SET @Column_Name = 'Id,Sort,Brand'
    SET @Table_Name = 'Item'
    SET @sql_str = 'Select ' + @Column_Name + ' FROM ' + @Table_Name
    --SELECT @sql_str
    EXECUTE (@sql_str)

    but i cannot figure out how to tie in the data to the report tablix.
    You can not dynamically assign the column to a text box (tablix). The best way is to modify your SQL to return the result with a fix column alias, then you can assign ths column to the Report control =>
    SET @sql_str = 'Select ' + @Column_Name + ' AS [ReportColumn] FROM ' + @Table_Name
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Routing selection in Production Order when using ECN in Routing

    Hi experts,
    I'm having some trouble with routing selection when using ECN in routing creation.
    I tested a case where I have 3 routings without ECN, and the Order asked me which one of the 3 I want to use.
    Then I created a routing with ECN. The order asked only one routing without ECN and the new routing with ECN.
    Do you know if there is any relation about using the ECN in Routings and using at the same time Routings without ECN, when selecting the routing in production order?
    Anybody can help?
    Thank you,
    Caio.

    Hi Ayoub,
    All the 4 routings are valid from Oct.2014 to 31.12.9999.
    The Order date is from Apr.2015.
    I've made another test with 2 routings created with ECN and the order chose one without asking me what to choose. I don't know the criteria used in this functionallity.
    Thanks,
    Caio.

  • How to display value based on LOV selection

    Hi,
    I have an editable table. On create operation one of the field is LOV, based on LOV selection the next field should be auto populated, please help me how to achive this.
    Thanks,

    Thanks for your reply........
    I did all these to get value based on LOV selection, but my problem is when i am trying to create a new record then everthing is working fine but normal search i am not getting the value of that attribute.
    below is my code
    Page:
    <af:column sortProperty="ProcessType" filterable="true"
    sortable="true"
    headerText="#{bindings.CmWeeklyProcesses.hints.ProcessType.label}"
    id="c36" width="340px;">
    <af:inputComboboxListOfValues id="processTypeId"
    popupTitle="Search and Select: #{bindings.CmWeeklyProcesses.hints.ProcessType.label}"
    value="#{row.bindings.ProcessType.inputValue}"
    model="#{row.bindings.ProcessType.listOfValuesModel}"
    required="#{bindings.CmWeeklyProcesses.hints.ProcessType.mandatory}"
    columns="#{bindings.CmWeeklyProcesses.hints.ProcessType.displayWidth}"
    shortDesc="#{bindings.CmWeeklyProcesses.hints.ProcessType.tooltip}" inlineStyle="width:800px;"
    valueChangeListener="#{backingBeanScope.backing_app_CalcSchedules.weeklyDescription}"
    autoSubmit="true" >
    <!-- <f:validator binding="#{row.bindings.ProcessType.validator}"/>-->
    </af:inputComboboxListOfValues>
    </af:column>
    <!--value="#{row.bindings.Description.inputValue}" backingBeanScope.backing_app_CalcSchedules.description-->//If i use this value in the below property line then i am not getting value while creating time but if i done blind search then i am not getting any value in this field.
    <af:column sortProperty="Description" filterable="true"
    sortable="true"
    headerText="#{bindings.CmWeeklyProcesses.hints.Description.label}"
    id="c35" width="390px;">
    <af:inputComboboxListOfValues id="descriptionId"
    popupTitle="Search and Select: #{bindings.CmWeeklyProcesses.hints.Description.label}"
    value="#{row.bindings.Description.inputValue}"
    model="#{row.bindings.Description.listOfValuesModel}"
    required="#{bindings.CmWeeklyProcesses.hints.Description.mandatory}"
    columns="#{bindings.CmWeeklyProcesses.hints.Description.displayWidth}"
    shortDesc="#{bindings.CmWeeklyProcesses.hints.Description.tooltip}" inlineStyle="width:1000px;"
    readOnly="true" partialTriggers="processTypeId">
    <f:validator binding="#{row.bindings.Description.validator}"/>
    </af:inputComboboxListOfValues>
    </af:column>

  • Validation based on conditions in another table

    Hi All,
    I'm trying to do a before update validation based on a condition. Basically, if the value of table1.columnA is changed to Yes only save when there are no rows in table2 columnX = Yes, otherwise online error.
    I have tried expressions, boolean, etc. and can't quite get the right combination.
    I am looking at something like select Y from dual where count of T2.CX = Yes is >1 otherwise N, and generate error only when Y is returned.
    Any help is appreciated.

    Thanks for the help. I did get it working, but in a way completely opposite than I was thinking it should work.
    FYI -
    The validation is expression 1 is contained in expression 2
    expression one is the p15_task_closed
    expression two is NO
    add a condition Exists (Sql returns a row)
    then do the select from the other table where it is true!
    I guess it says look at the conditions first, if the condition is true check the validation. If the validation is TRUE then no error, if the validation is FALSE (in this case the p15_task_closed = YES) enforce the validation error.

  • Pre-Populate Dropdown based on information selected in another dropdown

    Hello,
    I hope this make since. I am working on building a form using Adobe Livecycle Designer. I have a dropdown list in multiple fields on the same form that will have the same information selected. I want the additional fields to automatically populate the information a user selects in the first dropdown list. Is this possible ??? If so, what would be the script/code necessary to do so ??? Thank you for your help.
    Example
    City, State appears in 4 different fields based on the selection in field 1, the additional 3 fields auto-populates the same information.
    Field/List 1: New York, NY <-- Selected City, State
    Field/List 2: New York, NY <-- Auto Populated based on field 1
    Field/List 3: New York, NY <-- Auto Populated based on field 1
    Field/List 4: New York, NY <-- Auto Populated based on field 1

    In the exit event of the first State field, using Javascript, something like this should work:
    State2.rawValue = this.rawValue;
    State3.rawValue = this.rawValue;
    State4.rawValue = this.rawValue;
    ...where "State2", "State3", etc. are references to the other dropdowns you want to populate with the same information from the first state field.
    Be sure to set the binding values in the BINDING tab of the dropdowns to the same in each dropdown,
    Brian

Maybe you are looking for

  • Problem with 10.6.8 update

    I had a couple of kernel panic reports after updating to 10.6.8 This happened while playing starcraft II Here is the report Interval Since Last Panic Report:  8580 sec Panics Since Last Report:          2 Anonymous UUID:                    D4ED497D-3

  • Problems downloading RAW files into Lightroom 4 from a 70D camera.

    I had a canon rebel xsi and had been able to download my RAW files to lightroom 4.  However, I have recently bought a 70D and is won't download into Lightroom 4.  I have been told that Lightroom 4 doesn't support the 70D and I have to upgrade to Ligh

  • Reading new camera raw files

    Waiting until a camera manufacturer supplies you with a new camera and then waiting until you add the code to LR messes everyone up. Why can't you have LR read new camera raw files if the file format is the same as a similar camera as a generic conve

  • Create mode in table-form layout

    Hi I use jheadstart 10.1.3.3.0.4157. I have a group with table-form layout. I want to enter to this page in create mode and then if user want, click on search button and go to table layout. I use steven davelaar solution (Re: How to add enter-in-inse

  • Sync to new PC. How do I sync existing iPhone 4 to the new iTune for the first time?

    I just switch to new PC, and so came with new iTune.  How do I sync existing iPhone 4 to the new iTune for the first time? iTune library has no music/app, and i don't want to loose what's on iPhone.  Help!