Forms Personalization - Making a field required

Does anyone know how to use Forms Personalization to make a field required?

I haven't been able to get this to work. I'm trying to change the Returns form in Receiving to force the user to enter a reason code when they do a return. When does the WHEN-VALIDATE-RECORD event occur? Is it when you press SAVE? I've set it up to give the user an error message when the reason_code field is null, but it's not working. It allows me to save with a null reason_code.
Thanks for your help.

Similar Messages

  • OAF Personalization-Making a field Required.

    I have a custom OAF page which has a Message text input field and is currently is a required field, Using personalization i wanted to make this a optional filed. But when i select that personalization properties, i dont see the option "required" and its values.
    Layout structure: Message Component Layout->Message Layout->Default single column-> Message Text Input field.
    Thanks
    Vishnu

    Vishnu
    Read only property is not controlled through personalization.What you need to do is extend the controller of the page and in the processRequest of the page use following code.
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext,webBean);
    OAMessageTextInputBean mtb = (OAMessageTextInputBean)webBean.findChildRecursive("Bean ID");
    mtb.setRequired("no");
    }Thanks
    AJ

  • What else must I do to force data entry other than making the field required in LC 9 Forms Designer?

    I am trying to make sure that fields are populated with data prior to moving to the next field, but it seems that simply making the field required is not sufficient.  What else must I do to enforce data entry within required fileds?
    Thank you,

    There are a variety of scripting techniques that can be used based upon the form requirements, UI aesthetics, designer preference,... The script below forces data entry into a text field object called 'tf1' but it is a dangerous practice and should be used carefully. You may find yourself in a infinite loop based upon the tab order. A safer pattern includes global field validation upon submit.
    // form1.page1.subform1.tf1::exit - (JavaScript, client)
    if (this.isNull) {
      xfa.host.messageBox("tf1 is a mandatory field.","Text Field 1 Error",0);
      xfa.host.setFocus("form1.page1.subform1.tf1");
    Steve

  • Making hidden fields required...

    I am currently building an interactive form on Acrobat Pro 10 and have a field hidden until a specific radio button is selected.  I need hidden field required when visible, but if I make it required, it is required when it is hidden as well.  I am only slightly familiar with javascript, is that the only way to do it?

    Yes, JS is the only way to do it. If you're already using a script to
    show/hide the field, you can also use the same script to make the field
    required (or not).

  • IC Webclient - making a field required

    On the BupaSearch View, I want to make some other fields required before you can successfully create an account.  Right now Country is the only one.  Country does not use the tag REQUIRED = "TRUE".  Even if I do used this tag, it really doesn't have any affect except to put an * or outline the box in red.  So I was trying to copy the logic that the field country uses, but I have no idea where this is done.  I've been searching and I need your help.  Does anyone know?
    Thanks.

    Hi Cathy,
    You can try to have a method R-Getter (required) as follows -
    METHOD get_r_brand .
      IF get_brand( attribute_path = '' ) IS INITIAL.
        rv_required = 'TRUE'.
      ELSE.
        rv_required = 'FALSE'.
      ENDIF.
    ENDMETHOD.
    And in the view:
            <crmic:label design   = "label"
                         required = "<%= ApplianceData->get_r_brand( ) %>"
                         for      = "//ApplianceData/Brand" />
    But this code will also add a star against the label and the star will go off only after some value is input to the field.
    See if it is still helpful.
    Regards,
    Abhishek !

  • Making a Field 'required'

    How do I make certain fields in my schema panel a 'required' input. I have the xmp documentation that discusses this but am unable to figure out how the implement this.
    thanks
    graham

    The code below works after an opportunity record is saved for the first time. If a new record is created, the code does not work
    We want to make the competitor product name field required if the competitor field is set to 'Acme'. If the competitor field is not 'Acme', then let it pass validation.
    This code is in the field validation area of the Competitor field and the Post Default box is checked
    ('<IndexedPick3>'= 'Acme' AND [<plC2_My_Position_ITAG>] IS NOT NULL) OR ('<IndexedPick3>' <> 'Acme')
    Any ideas why it would work only if the record has been saved?

  • Self Service Personalization Making a Flex Required

    I have added a flex field into my self service pages for iProcurement/Requisitions and it is working fine. The user base would like the field to be required but we cannot require it at the DFF definition because that would break PO's for us. Is there a way to make this field (a simple poplist of 4 values) to be required in Self Service pages without checking it as required in the FF definition? I see other field types like a Messgae Choice and the like have a "required" attribute, but the Flex does not.
    Any thoughts?

    I haven't been able to get this to work. I'm trying to change the Returns form in Receiving to force the user to enter a reason code when they do a return. When does the WHEN-VALIDATE-RECORD event occur? Is it when you press SAVE? I've set it up to give the user an error message when the reason_code field is null, but it's not working. It allows me to save with a null reason_code.
    Thanks for your help.

  • XD01 - Making Dunning field required

    I know that I can add code to EXIT_SAPMF02D_001 for this, but is there an easier way to make the dunning procedure field on XD01 a required field? Thanks

    You can do this via SPRO. Here is the path:
    Financial Accounting>Account Rec and Payables>Customer Accounts>Master Data>Preparation for creating Customer Master Data-->Define Account Groups with Screen Layouts (Customers).
    Select the Account Group and Click details button. In the Field Status section, select Company Code Data and hit the Edit Field Status button. Double Click Correspondence. You would find Dunning Data there as an option with various radio button. Click the Req. Entry radi button to make it mandatory. Save and test.
    Hope this helps!

  • Making a form field required when another field is selected

    I have a contact form with the usual fields required (name, address, city, etc.). I'm adding a Country pull-down list to the form, which will default to the US being selected. Since a "State" field is not relevant for anyone filling out the form from another country, I'd like to make the State field required only if the country selected is United States, and not required for any other country. Is there a way to do this?
    Thanks,
    R-Co

    What you need is to be able to create a required textfield when the first textfield shows USA and destroy the required field when another country is selected.
    The following may help to understand create and destroy
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Deleting and rebuilding validations</title>
    <link href="http://labs.adobe.com/technologies/spry/widgets/textfieldvalidation/SpryValidationTextFiel d.css" rel="stylesheet">
    </head>
    <body>
    <form id="form1" method="post" action="#">
      <p>
        <input type="radio" name="radio" id="Married" value="Married" onclick="val(this);">
        <label for="Married">Married</label>
      </p>
      <p>
        <input type="radio" name="radio" id="Defacto" value="Defacto" onclick="val(this);">
        <label for="Defacto">Defacto</label>
      </p>
      <p>
        <input type="radio" name="radio" id="Single" value="Single" onclick="val(this);">
        <label for="radio">Single</label>
      </p>
      <hr>
      <span id="sprytextfield1">
        <label for="f_married">Married</label>
        <input name="married" id="f_married" type="text" value="">
        <span class="textfieldRequiredMsg">A value is required.</span>
      </span>
      <span id="sprytextfield2">
        <label for="f_defacto">Defacto</label>
        <input name="defacto" id="f_defacto" type="text" value="">
        <span class="textfieldRequiredMsg">A value is required.</span>
      </span>
      <span id="sprytextfield3">
        <label for="f_single">Single</label>
        <input name="single" id="f_single" type="text" value="">
        <span class="textfieldRequiredMsg">A value is required.</span>
      </span>
      <hr>
      <input type="submit" value="Submit" />
    </form>
    <script src="http://labs.adobe.com/technologies/spry/includes_minified/SpryValidationTextField.js"></script>
    <script>
    var sprytextfield1,
            sprytextfield2,
            sprytextfield3;
    // build validations and delete / destroy them
    function val(e){
        // get the value
        value = e.value;
        // see what radion button we have
        if(value == "Married"){
            // if there inst a validaton build one
            if(!sprytextfield1){
                sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1");
            // if there is a validaiton in sprytextfield destory it, and clear the variable
            if(sprytextfield2 && sprytextfield2.destroy){
                sprytextfield2.resetClasses();
                sprytextfield2.destroy();
                sprytextfield2 = null;
            // same as the rest
            if(sprytextfield3 && sprytextfield3.destroy){
                sprytextfield3.resetClasses();
                sprytextfield3.destroy();
                sprytextfield3 = null;
        } else if(value == 'Defacto'){
            if(!sprytextfield2){
                sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
            if(sprytextfield1 && sprytextfield1.destroy){
                sprytextfield1.resetClasses();
                sprytextfield1.destroy();
                sprytextfield1 = null;
            if(sprytextfield3 && sprytextfield3.destroy){
                sprytextfield3.resetClasses();
                sprytextfield3.destroy();
                sprytextfield3 = null;
        } else if(value == 'Single'){
            if(!sprytextfield3){
                sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
            if(sprytextfield1 && sprytextfield1.destroy){
                sprytextfield1.resetClasses();
                sprytextfield1.destroy();
                sprytextfield1 = null;
            if(sprytextfield2 && sprytextfield2.destroy){
                sprytextfield2.resetClasses();
                sprytextfield2.destroy();
                sprytextfield2 = null;
        // proceed with the rest as normal
        return true;
    </script>
    </body>
    </html>

  • Form personalization : sales order form (line) to make subinventory field mandatory

    I have requirement to make sub inventory field mandatory in Sales Order Line, I tried using Form Personalization on 'When Validate Record' and making the fields required. But even though the field is showing as yellow but system allowing me to save the order line without this fields? Any input?
    thanks
    challa

    Forms Personalization is a feature of the Oracle Enterprise Business Suite (EBS) not a feature of Oracle Forms.  Please post your question in the EBS General Discussion forum.  If you have a general Forms question, by all means, ask it here!
    Craig...

  • Enable Property Not working in Form Personalization- R12

    Hi All,
    I have an requirement to grade out the button item for Production Supervisor- Batch details, The Button Item is Transact Material, This Button should be grade out always for this particular responsibility.
    See below what logic i used for this requirement in Form Personalization.
    1. For the Batch Details Form Created one Personalization with trigger condition WHEN-NEW-BLOCK-INSTANCE and processing mode Not in Enter-Query Mode.
    2. In Actions tab - Type : Property
    Object Type : Item
    Target Object: GME_BATCH_HEADER.TRANSACTIONS
    Property Name: ENABLED
    Value : FALSE
    After i validate it and pressed APPLY NOW- only at that time the "Transact Material" Button showed as Grade out but after i closed the personalization window and reopen the Batch Details form and am seeing that Transact Material still Enabled instead of Grade out.
    I prefectly saved the personalization window.
    I dont knw why it is working only when i see preview(APPLY NOW) option and not working once i reopen the batch details or logout the apps and reloged again still having the same issue.
    Please help me out if any one come accross this type of issue.
    welcoming your comments on this...
    Regards
    Prabu

    Are you making the fields "required" using personalization?
    The Raise FTF action won't produce any message.
    It looks like some other code is firing before your personalization fires.
    It seems user is unable to save the record. So your requirement is achieved.
    If not, please post details of the personalization.
    Sandeep Gandhi

  • Form Personalization - Make field required based on LOV selection

    Newbie here.
    I am trying to make a field required based on the selection of the LOV that is next to it. Having a heck of a time with it.
    The form i am working on is the Sub Invenntory form that you get to via Organization Items. We want the subinvnetory field to be manditory when subinv is selected from the LOV in the sources tab.
    here is what i have so far:
    CONDITION
    Trigger Event: WHEN-VALIDATE-RECORD
    Trigger Obj: ITEM_SUBINVENTORIES
    Condition: ${item.item_subinventories.SOURCE_TYPE.value} = 3
    Action
    Type: Property
    Object Type: Item
    Target Object: ITEM_SUBINVENTORIES.SOURCE_SUBINVENTORY
    Property Name: REQUIRED
    Value: TRUE
    The problem seems to be that i can't get the field to be required. It shows up yellow but still allows me to save w/ the field being blank.

    I do not know about the particular form that you are trying to personalize, but whenever I have created a condition, it has usually been in the following syntax:
    :BLOCK_NAME.FIELD_NAME = 'VALUE'
    For example, :MTL_SYSTEM_ITEMS.PRIMARY_UNIT_OF_MEASURE_MIR = 'SEAT'
    Yours seems to be very much different from mine, but then again, I am not technical so I cannot comment intelligently on that aspect.
    May be that is the problem.
    Also, once you get it to work, you might want to also add a condition where the field is turned to un-required when the SOURCE_TYPE is NOT 3.

  • Making the comments field Required in the Workitem

    Hello,
    I have a GP Application wherein the initiator fills out a form which goes to the Approver using Visual Approval Callable Object.........now when the approver opens the workitem he sees the information entered by the initiator and a comments field at the bottom......we want to make this field required for them.......how can we achieve this.....while creation of the Visual Approval Callable Object i see the comments as a output parameter with the 'Is Required' checkbox option....but it is disabled and does not allow you to select it......Please help...
    Any help would be highly appreciated...
    Regards,
    Anil

    Hi Anil,
    Standard Visual Approval CO doesnt work like that.
    Either you can create your own CO.
    OR
    i can suggest you as follows, but it is making little complicated process.
    1. Create one Action with Business Logic callable object, which will check for Comment EQ space or not and have 2 different states.
    a. If Comments is blank, Go back to Approval Action
    b. If Comments is entered, Proceed for further actions.
    2. Set this action as target for Approval Action.
    Hope this helps you.
    Thanks,
    Tejaswini

  • Sharepoint 2010 - Cannot make field Required in Add New Item form.

    I made a fleld Required by making the proper selection in List Settings > Editing the column.  It now shows as required when I edit an existing record in the list, but is not required when adding a new item.  Why does the setting not apply
    to the Add New Item form?  How can I make it apply/required?
    btw, there are no content types associated with the list.

    Hi  ,
    According to your description, my understanding is that you cannot make field required in the list new form.
    For my test, I created a custom list , added a non-required field and added some records. Then I made the field required. But it worked fine as expected both in existing records and  in Add New Item
    form.
    Do you have some customization in your list new form?
    You can go to your list -> Customize Form under  list tab, then the new form will be opened in the InfoPath. In the InfoPath, right click the field and select Text Box Properties, make sure “Cannot
    be blank”  has been checked.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Form Personalization - Validation for an existing field value can be done?

    Dear All,
    I have a requirement to have a validation on a form value based on its current value.
    The field should be editable as well it should check its current value with the newly eneterd value, which should not be less than the originally displayed value.
    Can I do this through Form Personalization..?
    If Yes how can I do that..? Please update...
    Many thanks.....

    Hi,
    Please see if the examples under the "Validation" section in (Note: 744065.1 - Sample CUSTOM Library Code To Customize Applications) helps.
    Not sure if this can be implemented using personalization, but you may review the documents and see if it helps.
    Note: 279034.1 - Information About the Oracle Applications Form Personalization Feature in 11i
    Note: 468657.1 - How To Do Forms Personalization
    Note: 395117.1 - Form Personalizations in Oracle E-Business Suite (Release 12)
    Thanks,
    Hussein

Maybe you are looking for

  • Connecting a second monitor to a iMac27

    I have a problem with my new iMac27 displaying through a second monitor. The second display monitor is a Samsung Syncmaster 225BW. I 'm using an Apple Mini DisplayPort to HDMI Adapter cable out of the iMac and connecting to the second display via an

  • How to edit data from an IDOC with errors and reprocess it

    Hi, We are working with SAP XI for communicate with an external systems by files (external) to IDOCS (SAP R/3). Sometimes we need to edit the data from an inbound IDOC, because the external system generates wrong information and that can't be process

  • SQL errors in SMS_STATE_SYSTEM - Trying to write NULL values to PropertyLocale

    Hi! We are getting a lot of the following error in the SMS_STATE_SYSTEM: Microsoft SQL Server reported SQL message 515, severity 16: [23000][515][Microsoft][SQL Server Native Client 11.0][SQL Server]Cannot insert the value NULL into column 'PropertyL

  • Star Schema and EUL

    1. It's a prerequisite to use a star schema to build a EUL or I can/ must used a Relational Schema? 2. The OLAP Option of Discoverer Plus work with an EUL or with a star schema 3. Which components requiere the OLAP option that don't require the Relat

  • IMac power problems?

    Sinse upgrading to Snow Leopard, I've been having some power issues with my iMac. First, during the night and day, usually when it is idle and in sleep mode, it will wake up on its own. However, it does not turn on the display. THe fans will run, the