Skipping validation if field is hidden

Hi, all!
I have functional requirement, when specific input field becomes visible/invisible based on another field value. Sounds clear, I will define AutoSubmit and PartialTriggers properties between some field and dependent conditionally visible/invisible field. It works fine, but invisible field has attribute 'required=true' and framework reports required field validation error (in spite of the invisibility) and, of course, customer can't submit the form. Required attribute can be set using an EL expression, but I need skip validation for hidden fields at all. Is there any way to do it? And, of course, client-side way is preferable. Thank you.

Thank you for quick answer.
1. Studio Edition Version 11.1.1.5.0
2. In view layer:
id="TaxPeriod" simple="true" required="#{pageFlowScope.ModelBean.taxPayment}"
label="blablabla" maximumLength="10"
styleClass="shortField"
binding="#{pageFlowScope.ModelBean.taxPeriodField}">
<af:validateRegExp pattern="^(0)|(..\\...\\.....)$"
messageDetailNoMatch="Format XX.XX.XXXX"/>
</af:inputText>
Yes, I can make the required attribute as EL. But what about other validation? reg exp, etc...

Similar Messages

  • Can Validation Script Discern If a Field is Hidden?

    Hello All
    I use the validation script below to check for data in required fields on my form. I recently modified the form, changing three of the required fields from visible to hidden fields. The three fields are hidden unless the user makes a specific selection from a combo box. Then the three fields become visible, and if visible, should be required.
    I am stuck on how to tell the script to work as follows:
    1. If the three fields controlled by the combo box are visible, then they should be checked for the required data
    2. If the three fields controlled by the combo box are hidden, then the script should ignore checking them for the required data
    The three hidden/unhidden fields in the script are f5, f6, f7. Is there a way in the validation portion of the script to have it determine if the field is hidden or visible, and if visible check it for the required data?
    Thanks in advance for any ideas on this.
    var m = this.getField("txt_subject");
    var mysubject = m.value + " - Request Form Submission";
    var cType = "Reader";
    var cVersion = "< 7";
    var nWarning = 1;
    var cMsg1 = "This form cannot be submitted with your version of Acrobat Reader.";
    var cMsg2 = "You must use Acrobat Reader version 7 or higher.";
    // If Reader 6 or below is being used, display message telling user that "Email" and "Save Data" buttons don't work.
    if (app.viewerType == cType && app.viewerVersion == cVersion)
    app.alert(cMsg1 + cMsg2, nWarning)
    else {
              f1 = this.getField("txt_date");
              f2 = this.getField("txt_requested by")
              f3 = this.getField("txt_requested by phone");;
              f4 = this.getField("cbo_functional area");
      f5 = this.getField("cbo_dmm_ad_spon");
              f6 = this.getField("txt_buyer");
              f7 = this.getField("txt_buyer phone");
              f8 = this.getField("cbo_dmm_finan_spon");
      f9 = this.getField("tbx_coop_dmm");
              f10 = this.getField("tbx_load_dmm");
              f11 = this.getField("tbx_expected roi");
              f12 = this.getField("txt_event");
              f13 = this.getField("txt_start date");
              f14 = this.getField("cbo_am or pm");
              f15 = this.getField("txt_target audience");
                                if (f1.value == "")
                        {app.alert ('Please enter the date you are making this request".');
              if (typeof app.formsVersion != "undefined" && app.formsVersion >= 4.0)
              f1.setFocus();}
                        else if (f2.value == "Person making request")
                                  {app.alert ('The "Requested by" line cannot be blank. Please type the name of the person requesting this ad.');
                if (typeof app.formsVersion != "undefined" && app.formsVersion >= 4.0)
              f2.setFocus();}
                        else if (f3.value == "Phone #")
                                  {app.alert ('Please type the phone number of the person requesting this project.');
                if (typeof app.formsVersion != "undefined" && app.formsVersion >= 4.0)
              f3.setFocus();}
                              else if (f4.value == "Select a Functional Area")
                                  {app.alert ('Please select a Functional Area.');
              if (typeof app.formsVersion != "undefined" && app.formsVersion >= 4.0)
              f4.setFocus();}
                               else if (f5.value == "Select a DMM")
                                  {app.alert ('Please select a DMM.');
              if (typeof app.formsVersion != "undefined" && app.formsVersion >= 4.0)
              f5.setFocus();}
                                        else if (f6.value == "Buyer's name")
                                  {app.alert ('Please enter the name of the Buyer.');
              if (typeof app.formsVersion != "undefined" && app.formsVersion >= 4.0)
              f6.setFocus();}
                        else if (f7.value == "Phone #")
                                  {app.alert ('Please type the Buyer\'s phone number.');
                if (typeof app.formsVersion != "undefined" && app.formsVersion >= 4.0)
              f7.setFocus();}
              else if (f8.value == "Select a Financial Sponsor")
                                  {app.alert ('Please enter the financial sponsor.');
              if (typeof app.formsVersion != "undefined" && app.formsVersion >= 4.0)
              f8.setFocus();}
                    else if (f9.value == "Enter dollars or a % amount.")
                                  {app.alert ('Please enter a dollar or percent amount for coop.');
              if (typeof app.formsVersion != "undefined" && app.formsVersion >= 4.0)
              f9.setFocus();}
                   else if (f10.value == "Enter a dollar amount.")
                                  {app.alert ('Please enter an amount for load.');
              if (typeof app.formsVersion != "undefined" && app.formsVersion >= 4.0)
              f10.setFocus();}
                   else if (f11.value == "Enter a dollar amount.")
                                  {app.alert ('Please enter the expected ROI amount in dollars.');
              if (typeof app.formsVersion != "undefined" && app.formsVersion >= 4.0)
              f11.setFocus();}
                   else if (f12.value == "")
                                  {app.alert ('Please enter the Event name.');
              if (typeof app.formsVersion != "undefined" && app.formsVersion >= 4.0)
              f12.setFocus();}
                    else if (f13.value == "")
                                  {app.alert ('Please enter a start date for this email.');
              if (typeof app.formsVersion != "undefined" && app.formsVersion >= 4.0)
              f13.setFocus();}
                 else if (f14.value == "Select AM or PM")
                                  {app.alert ('Please select AM or PM for the Deployment time.');
              if (typeof app.formsVersion != "undefined" && app.formsVersion >= 4.0)
              f14.setFocus();}
                    else if (f15.value == "")
                                  {app.alert ('Please describe the target audience for this email.');
              if (typeof app.formsVersion != "undefined" && app.formsVersion >= 4.0)
              f15.setFocus();}
                 else
                                  // Email PDF.
                                  this.mailDoc(true, "[email protected]", "", "", mysubject);}

    I went through the form, and realized I am partially where I need to be: The required fields script checks the first of the three unhidden fileds, but then skips the other two.
    To recap, I have a combobox that, if the user makes a specific selection, that selection will make three hidden fields visible. When checking the fields on the form, the required fields script should then proceed as follows:
    1. If the three fields controlled by the combo box are visible, then they should be checked for the required data
    2. If the three fields controlled by the combo box are hidden, then the script should ignore checking them for the required data
    The three hidden  fields are:
    cbo_dmm_ad_spon
    txt_buyer
    txt_buyer phone
    When the three fields are visible the script checks the first one, cbo_dmm_ad_spon, but skips checking txt_buyer and txt_buyer phone, and instead goes on to the cbo_dmm_finan_spon field.
    I believe I've correclty implemented what AcroBishop recommended. Does anyone see where I may have gone wrong?
    var correctVersion = (typeof app.formsVersion != "undefined" && app.formsVersion >= 4.0);
    var m = this.getField("txt_subject");
    var mysubject = m.value + " - Email Request Form Submission";
    var cType = "Reader";
    var cVersion = "< 7";
    var nWarning = 1;
    var cMsg1 = "This form cannot be submitted with your version of Acrobat Reader.";
    var cMsg2 = "You must use Acrobat Reader version 7 or higher.";
    // If Reader 6 or below is being used, display message telling user that "Email" and "Save Data" buttons don't work.
    if (app.viewerType == cType && app.viewerVersion == cVersion)
    app.alert(cMsg1 + cMsg2, nWarning)
    else {
              f1 = this.getField("txt_date");
              f2 = this.getField("txt_requested by")
              f3 = this.getField("txt_requested by phone");;
              f4 = this.getField("cbo_functional area");
      f5 = this.getField("cbo_dmm_ad_spon");
              f6 = this.getField("txt_buyer");
              f7 = this.getField("txt_buyer phone");
              f8 = this.getField("cbo_dmm_finan_spon");
      f9 = this.getField("tbx_coop_dmm");
              f10 = this.getField("tbx_load_dmm");
              f11 = this.getField("tbx_expected roi");
              f12 = this.getField("txt_subject");
              f13 = this.getField("txt_objective");
              f14 = this.getField("txt_start date");
              f15 = this.getField("cbo_am or pm");
              f16 = this.getField("txt_target audience");
                                if (f1.value == "")
                        {app.alert ('Please enter the date you are making this request".');
               if(correctVersion) f1.setFocus();}
                        else if (f2.value == "Person making request")
                                  {app.alert ('The "Requested by" line cannot be blank. Please type the name of the person requesting this ad.');
               if(correctVersion) f2.setFocus();}
                        else if (f3.value == "Phone #")
                                  {app.alert ('Please type the phone number of the person requesting this project.');
               if(correctVersion) f3.setFocus();}
                              else if (f4.value == "Select a Functional Area")
                                  {app.alert ('Please select a Functional Area.');
               if(correctVersion) f4.setFocus();}
                    else if(f5.display == display.visible && f5.value == "Select a DMM") {
      app.alert ('Please select a DMM.');
               if(correctVersion) f5.setFocus();}
                         else if (f6.display == display.visible && f6.value == "Buyer's name")
                                  {app.alert ('Please enter the name of the Buyer.');
               if(correctVersion) f6.setFocus();}
                        else if (f7.display == display.visible && f7.value == "Phone #")
                                  {app.alert ('Please type the Buyer\'s phone number.');
               if(correctVersion) f7.setFocus();}
              else if (f8.value == "Select a Financial Sponsor")
                                  {app.alert ('Please enter the financial sponsor.');
               if(correctVersion) f8.setFocus();}
                    else if (f9.value == "Enter dollars or a % amount.")
                                  {app.alert ('Please enter a dollar or percent amount for coop.');
               if(correctVersion) f9.setFocus();}
                   else if (f10.value == "Enter a dollar amount.")
                                  {app.alert ('Please enter a dollar amount for load.');
               if(correctVersion) f10.setFocus();}
                   else if (f11.value == "Enter a dollar amount.")
                                  {app.alert ('Please enter the expected ROI amount in dollars.');
               if(correctVersion) f11.setFocus();}
                   else if (f12.value == "Launch? Expanded assortment? New sizes?")
                                  {app.alert ('Please enter the subject of this email.');
               if(correctVersion) f12.setFocus();}
                                     else if (f13.value == "Drive sales? Informational?")
                                  {app.alert ('Please enter the objective of this email.');
               if(correctVersion) f13.setFocus();}
                    else if (f14.value == "")
                                  {app.alert ('Please enter a start date for this email.');
               if(correctVersion) f14.setFocus();}
                 else if (f15.value == "Select AM or PM")
                                  {app.alert ('Please select AM or PM for the Deployment time.');
               if(correctVersion) f15.setFocus();}
                    else if (f16.value == "")
                                  {app.alert ('Please describe the target audience for this email.');
               if(correctVersion) f16.setFocus();}
                 else
                                  // Email PDF.
                                  this.mailDoc(true, "[email protected]", "", "", mysubject);}

  • How to skip validation using serverListener

    Hi,
    I am using Jdev 11.1.2.3.0
    My requirement was to called some action using the keyboard key.
    I tried with Access key first but its behaving differently in different browser.
    Crome: allowing action on access key press.
    IE : setting the focus on commandLink.
    Note : I have defined accessKey for RichCommandLink.
    Then i used the different approach which is as follows:
    1- Register the keyBoard handler to document. on beforePhase Event.
    2- Added the js file as follows :
    Javascript file:
    var keyRegistry = new Array();
    keyRegistry[0] = "alt 1";
    keyRegistry[1] = "alt 2";
    keyRegistry[2] = "alt 3";
    keyRegistry[3] = "alt 4";
    keyRegistry[4] = "alt 5";
    keyRegistry[5] = "alt 6";
    keyRegistry[6] = "alt 7";
    keyRegistry[7] = "alt 8";
    keyRegistry[8] = "alt 9";
    keyRegistry[9] = "alt 0";
    function registerKeyBoardHandler(serverListener, afdocument) {
      _serverListener = serverListener;
      var document = AdfPage.PAGE.findComponentByAbsoluteId(afdocument);
      _document = document;
      for (var i = keyRegistry.length - 1; i >= 0; i--) {
        var keyStroke = AdfKeyStroke.getKeyStrokeFromMarshalledString(keyRegistry);
    AdfRichUIPeer.registerKeyStroke(document, keyStroke, callBack);
    function callBack(keyCode) {
    var activeComponentClientId = AdfPage.PAGE.getActiveComponentId();
    // Send the marshalled key code to the server listener for the developer
    // To handle the function key in a managed bean method
    var marshalledKeyCode = keyCode.toMarshalledString();
    AdfCustomEvent.queue(_document,
    _serverListener, {keycode:marshalledKeyCode,
        activeComponentClientId:activeComponentClientId}, true);
    // indicate to the client that the key was handled and that there
    // is no need to pass the event to the browser to handle it
    return true;
    *jspx page:*
            <f:view beforePhase="#{KeyboardHandler.registerKeyboardMapping}">
    <f:loadBundle basename="properties/Labels" var="labels"/>
    <af:document id="adfDocument">
    <af:resource type="javascript" source="/js/keyboard.js"/>
    <af:serverListener type="keyboardToServerNotify" method="#{KeyboardHandler.handleKeyboardEvent}" />
    </af:document>
    </f:view>
    *Java Code :*
            public class KeyboardHandler {
    public KeyboardHandler() {
    super();
    public void registerKeyboardMapping(PhaseEvent phaseEvent) {
    if (phaseEvent.getPhaseId() == PhaseId.RENDER_RESPONSE) {
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ExtendedRenderKitService extRenderKitService =
    Service.getRenderKitService(facesContext,
    ExtendedRenderKitService.class);
    List childComponents = facesContext.getViewRoot().getChildren();
    //First child component in an ADF Faces page - and the only child - is af:document
    //Thus no need to parse the child components and check for their component family
    //type
    String id =
    ((UIComponent)childComponents.get(0)).getClientId(facesContext);
    StringBuffer script = new StringBuffer();
    script.append("window.registerKeyBoardHandler('keyboardToServerNotify','" +
    id + "')");
    extRenderKitService.addScript(facesContext, script.toString());
    public void handleKeyboardEvent(ClientEvent clientEvent) {
    String keyCode = (String)clientEvent.getParameters().get("keycode");
    System.out.println("KeyCode ::"+keyCode);
    //Here on basis of numeric key 0-9 i will decide different action
    This is working fine and launching the first action successfully.
    *Now problem is that when i invoked second action its asking me enter data for required fields.*
    If i was invoking serverlistener from button than I can control immediate property of command button. but here serverListener is getting called form document. How can I avoid validation here.
    Can anybody please me?
    Thanks a lot in advance.
    -Amit Sharma
    http://amit-adf-work.blogspot.com/                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    If you want to skip all validation until time of commit you can do as described here
    http://andrejusb.blogspot.com/2012/12/skip-validation-for-adf-required-tabs.html

  • Skip Validation

    Hey Guys,
    I have a bad case that I need a help in it as follow:
    I'm using RAD 7.5 with WAS 6.1 to develop portlets, in one of my portlets I have a case in which I need to skip validation after I change the value selected in a dropdown menu. I'm using 'onchange="submit()"' and a valueChangeListener attributes of the dropDownMenu to populate some fields in the same page, but when the form submitted the fields were validated and many validation errors appeared, how can I skip validation in this case and avoid the appearance of the error messages.
    can anyone give me a hand?
    Thank you for help in advance.

    Add immediate="true" to the dropdown component only and add FacesContext#renderResponse() call to the valueChangeListener method which is bound with the dropdown component.

  • XML Validation in PI 7.1 - Restart and skip validation possible, but how?

    Hello all,
    I read about schema validation in PI 7.1 and did a few tests on my own, but could not restart and skip validation for invalid payloaded messages. The documents say it is possible.
    Anyone know how? Thanks.
    BTW, I really think putting the schemas in server file system will cause a lot of authorization trouble in enterprises. No one gives access to the server filesystem and I don't think they will also like to open the required subdirectories for share. Asking the basis team to create the folder structures and maintaining schemas would be another pain. Don't you also think that SAP could find a better approach, like automatically uploading the schemas to the filesystem, or validating them from repository directly if possible?
    Kind regards,
    Gökhan

    Hi Gökhan,
    I am facing the same issue.
    I set up outbound xml validation in receiver agreement and tested it with valid and invalid messages.
    The validation works fine.
    But in case of validation error I tried to restart with skipping the validation. But this wasn't possible.
    I am always facing the same valdiation error.
    I already tried all different tools I know (sxi_monitor, message monitoring in rwb and in nwa)
    I am working on PI 7.11 SP6
    Did you find a solution for skipping the validation for a single message out of the monitoring?
    I know that there is the possibility of deactivate the validation in receiver agreement but thid doesn't meet the requirement of skip the validation only for a single message.
    Maybe anyone else faced and solved this issue already.
    Thanks in advance
    Jochen

  • Spry validation text field across two columns in a table?

    I have a table with two columns.  I can easily insert a spry validated text field into the left cell but when I drag the box over so that box is in the right column and the label is still in the left column then that breaks the widget.
    Is this even possible for me to do or do I have to put the widget in just one column?

    Think I figured it out.
    http://www.adobe.com/devnet/dreamweaver/articles/spry_form_validations.html

  • Is it possible to create a editable pdf with validation(required field) using Adobe Acrobat pro version?

    Hi,
    the subject says it all. I have downloaded the trail version to see if its possible to create a editable pdf with validation(required field) using Adobe Acrobat pro version?
    Basically, I will have to create a pdf form where users fill it and send it back to me. there will be required fields (the textbox and check box) that user need to fill before saving the editable pdf?
    Is it possible. if so, can someone kind enough to point to me right directions?
    Thanks in advance.

    Thanks for reply. What I am trying to achieve is to give an option for the user to download the pdf form and once the user tries to save the pdf, it validates with the required field. I managed to create the editable pdf with required fields option. I just need that validation to be done when user click on save file. How can I achieve this? thanks so much for your help.

  • Using JavaScript to set value of Spry validated text field

    Why can't the value of a text field be set using JavaScript
    when it's validated using the Spry validation widget.
    Example (this works):
    <select name="birthdate_month" id="birthdate_month"
    onChange="document.getElementById('birthdate').value = 'test';">
    <option>1</option>
    <option>2</option>
    </select>
    <input type="text" name="birthdate" id="birthdate"
    value="">
    Example (this doesnt work):
    <select name="birthdate_month" id="birthdate_month"
    onChange="document.getElementById('birthdate').value = 'test';">
    <option>1</option>
    <option>2</option>
    </select>
    <span id="birthdate">
    <input type="text" name="birthdate" id="birthdate"
    value="">
    <span class="textfieldRequiredMsg">please enter your
    birthday</span>
    </span>
    <script type="text/javascript">
    <!--
    var birthdate = new
    Spry.Widget.ValidationTextField("birthdate", "none");
    //-->
    </script>
    Is there a way to change the value of a Spry validated text
    field using JavaScript?
    Thanks.

    Why can't the value of a text field be set using JavaScript
    when it's validated using the Spry validation widget.
    Example (this works):
    <select name="birthdate_month" id="birthdate_month"
    onChange="document.getElementById('birthdate').value = 'test';">
    <option>1</option>
    <option>2</option>
    </select>
    <input type="text" name="birthdate" id="birthdate"
    value="">
    Example (this doesnt work):
    <select name="birthdate_month" id="birthdate_month"
    onChange="document.getElementById('birthdate').value = 'test';">
    <option>1</option>
    <option>2</option>
    </select>
    <span id="birthdate">
    <input type="text" name="birthdate" id="birthdate"
    value="">
    <span class="textfieldRequiredMsg">please enter your
    birthday</span>
    </span>
    <script type="text/javascript">
    <!--
    var birthdate = new
    Spry.Widget.ValidationTextField("birthdate", "none");
    //-->
    </script>
    Is there a way to change the value of a Spry validated text
    field using JavaScript?
    Thanks.

  • Spry validation text field issue

    I've put several spry validation text fields on my site and
    you can still click through to the next page without having to
    enter any information. What am I missing?

    Think I figured it out.
    http://www.adobe.com/devnet/dreamweaver/articles/spry_form_validations.html

  • How to skip validation for tag file, or jsp fragment?

    hi
    I have some jsp fragment and tag file in a workshop 10 project
    workshop blame me about the jsp fragment (no start/end tag)
    and unable to publish to server
    is there a way to skip validation on some files?
    I do found an check box call "validate JSP fragments" and I have un-ticked it. It does nothing.
    please help

    Yes, you can turn off validation either on project/folder/individual file.
    Project:
    Project > Properties - Validation AppXRay - un-check "Validate Workshop managed documents" (this is not recommended, you may loose entire AppXRay validation).Folder:
    Project > Properties - Validation AppXRay - Exclude Folders tab, if all the JSP fragments are present in a particular folder (under WebAppRoot), you can pick that folder to be excluded from AppXRay validationFile:
    Help > Help Contents - BEA Workshop User's Guide > Common IDE Tasks > "Using AppXRay" - Live Synchronization of artifacts with AppXRay - On this page scroll to the bottom you will find a table with list of comments that can be included in a JSP file to exclude file level validation.Ex:
    <%--<nitrox:set-property property="validation" value="true"/> --%>
    Controls all validation in the IDE. The default value of true enables validation.

  • Adf validation date field timestamp

    while doing some validation of comparing date fields with timestamp fields i am finding inconsistent behavior in jdev 11 1 1 5. is this known issue. what is best way to do EO level declarative Compare Greater Than / Less Than validations on fields which are of type date and timestamp ?

    First of all, "ADF" on the view side (which is where UIX is) has undergone some dramatic changes.
    10.1.2 and before: you had UIX
    10.1.3.x: ADF Faces 10g
    11.x: ADF Faces 11g (which, although is JSF like ADF Faces 10g, the component set is so different as to be almost a "new thing")
    So, when you're asking about the view technologies, 10.1.2, 10.1.3, and 11.x are dramatically different. ADF Business Components, even though they have gone through changes, are "the same enough" across the versions as to be understandably similar, but not the view technologies.
    John

  • Unique problem with validation/ making field required

    I have searched the forums trying to find a way to make a field required based on the users selection of a check box, or something else. So far, everything says use nullTest = "error".
    I have tried to do this and get the following results: The red highlighting, which shows up around my other required fields, will not show up unless you click in the text box and then out of it. Weird! Then, when pressing the submit button, it will not actually give you an error message if there is nothing in that text box, as it will if there is nothing in the fields that I originally make required.
    Any thoughts, or fixes would be greatly appreciated.
    Thanks in advance for any help.

    We do the same thing here. We haven't had any issues with the submit not validating the field correctly though. Our only issue was the red highlighting. To get around this, we would call resetdata on the field. resetData clears out the value of the field so you need to store it off and then reset it.
    if (form1.BP1.ChangeActivities.Pos1.Department==1) then $.validate.nullTest = "error" else $.validate.nullTest = "disabled"
    endif
    $=$
    var x = $
    xfa.host.resetData("form1.BP1.ChangeParticulars.Pos1To.DeptNo")
    $ = x

  • How to skip validations in ADF on click of cancel button

    Hi,
    I am new to this technology. i Have used ADF components required property to do Required filed validations. Whne i click on Cancel button i dont want the validations to get executed. How to skip validations in ths case?
    I am using ADF 11g and JSF 2.2

    Set immediate property of the cancel button to true.
    Check this out.
    http://jobinesh.blogspot.com/2009/08/how-to-skip-validation.html
    -Arun

  • Validity period field in Info record

    Hi all,
        I encounter the following problem while creating an info record. The validity field was mandatory, but the field was grey and evantually i couldn't enter anything... Can anyone clarify my doubt???
    Message was edited by:
            Antony anburaj

    Hi
    In ME11,While creating Info Record, In Pur.Org.Data1 Screen, you will find that the Valid to Field in Grey....If you want to give give valid to Date, then In the same screen, Go to Conditions, and there you can give Valid from and Valid to Details and all...
    Reward if useful
    Regards
    S.Baskaran

  • Info Rec - EINE - Valid To Field

    Hello,
    I need to make changes to many Info Recs.  I find that this is possible when the Valid To field in the EINE table is populated with a date other than 00/00/0000, for example 12/31/9999.  My question is, can someone tell me anything more about the Valid To filed in this table.  From where is it in SAP?  Where can it be changed? Etc.
    Thank you in advance,
    Judi

    To change the Info record valid to date you have to use follosing table and write the cusotm program ro to that.
    Use table below. The reason is the valid to is stored in the structure so you have to write the program to rean all the validity period defined for info and serch for the last record and change based on your input file.
    a017, konp, eina, eine, t683s, a018,

Maybe you are looking for