Required Fields upon user selection

I have several forms that have been requested to move to Adobe Forms.  I have the forms created, but need some help on how to require certain fields when only others are selected.  I have one that has a drop down of 3 options and only when a certain option is selected a comments field needs to be required.
Other forms are required fields depending on a radio button or check box the end user selects they then must complete certain fields and all others are optional.  Any help would be greatly appreciated.

As far as I know, you're just limited to whatever fields are in the transaction... That applies for any of the setup tables processes.
If you need to limit the data that goes to BW, you can do so by putting the logic in CMOD, EXIT_SAPLRSAP_001, Include ZXRSAU01 for the specific extractor.

Similar Messages

  • When trying to make a purchase for a movie I get a security information required field then I select continue and it brings me back to original screen to purchase movie. Please help.

    When trying to make a purchase for a movie I get a security information required field then I select continue and it brings me back to original screen to purchase movie. Please help.

    It's telling you to verify your billing information (credit card, address, security code), which needs to be done in iTunes via computer.

  • Inline table throw "make a selection" error in required field upon PPR

    Hi,
    I have a dropdown in a page and when change, will do a PPR and render the inline ADF table which contains selectOneChoice, inputText components.
    Here's code snipplet:
    <af:selectOneChoice label="Action" shortDesc="Action" id="soc17"
    rendered="#{!viewScope.FaParamConfigBean.paramConfigMode
    and pageFlowScope.backing_flowFaParamsBean.flowParamConfigMode}"
    valueChangeListener="#{pageFlowScope.backing_flowFaParamsBean.onChangeAction}"
    immediate="true" autoSubmit="true">
    <f:selectItems value="#{pageFlowScope.backing_flowFaParamsBean.actionsList}"
    id="si12"/>
    </af:selectOneChoice>
    <af:panelCollection id="pc3" styleClass="AFStretchWidth"
    rendered="#{pageFlowScope.backing_flowFaParamsBean.showFlowParamConfigTable}"
    partialTriggers="soc17">
    <af:table value="#{bindings.ItasFlowParamConfigsFullVO1.collectionModel}"
    var="row"
    rows="#{bindings.ItasFlowParamConfigsFullVO1.rangeSize}"
    emptyText="#{bindings.ItasFlowParamConfigsFullVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.ItasFlowParamConfigsFullVO1.rangeSize}"
    rowBandingInterval="0"
    selectedRowKeys="#{bindings.ItasFlowParamConfigsFullVO1.collectionModel.selectedRow}"
    selectionListener="#{bindings.ItasFlowParamConfigsFullVO1.collectionModel.makeCurrent}"
    rowSelection="single" id="t11"
    editingMode="editAll" styleClass="AFStretchWidth"
    columnStretching="column:c4"
    partialTriggers="::ctb12 ::ctb13"
    immediate="true">
    <af:column sortProperty="#{bindings.ItasFlowParamConfigsFullVO1.hints.ParameterUid.name}"
    sortable="false"
    headerText="#{bindings.ItasFlowParamConfigsFullVO1.hints.ParameterUid.label}"
    id="c4">
    <af:selectOneChoice value="#{row.bindings.ParameterUid.inputValue}"
    label="#{bindings.ItasFlowParamConfigsFullVO1.hints.ParameterUid.label}"
    shortDesc="#{bindings.ItasFlowParamConfigsFullVO1.hints.ParameterUid.tooltip}"
    required="#{bindings.ItasFlowParamConfigsFullVO1.hints.ParameterUid.mandatory}"
    id="soc99" immediate="true">
    <f:selectItems id="si88"
    value="#{pageFlowScope.backing_flowFaParamsBean.parameterListDrop}"/>
    </af:selectOneChoice>
    </af:column>
    The issue is that after changing the value in "Action" dropdown, the inline table got refreshed accordingly, and ADF throws error "Please make a selection for Parameter Uid" on the required selectOneChoice value in the inline table. How can I prevent ADF having the validation checking of required fields when doing a PPR? I have already set the dropdown and table immediate=true already.
    Please advise.
    Thanks
    -Mina

    Hi,
    Need to add SOC id "si12" as table's partial Trigger.
    <af:table value="#{bindings.ItasFlowParamConfigsFullVO1.collectionModel}"
    var="row"
    rows="#{bindings.ItasFlowParamConfigsFullVO1.rangeSize}"
    emptyText="#{bindings.ItasFlowParamConfigsFullVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.ItasFlowParamConfigsFullVO1.rangeSize}"
    rowBandingInterval="0"
    selectedRowKeys="#{bindings.ItasFlowParamConfigsFullVO1.collectionModel.selectedRow}"
    selectionListener="#{bindings.ItasFlowParamConfigsFullVO1.collectionModel.makeCurrent}"
    rowSelection="single" id="t11"
    editingMode="editAll" styleClass="AFStretchWidth"
    columnStretching="column:c4"
    partialTriggers="::ctb12 ::ctb13 ::si12"
    immediate="true">

  • How to get required fields in the selection screen while filling a set tabl

    hai,
    i was filling the set up table for 2lis_13_vditm.but while filling the set up table in the selection conditions in the tcode OLI9BW.
    I would like to have the a field added in the selection condition which is not existing in the OLI9BW.
    kindly help me out of ths.
    with regards
    soumya.

    As far as I know, you're just limited to whatever fields are in the transaction... That applies for any of the setup tables processes.
    If you need to limit the data that goes to BW, you can do so by putting the logic in CMOD, EXIT_SAPLRSAP_001, Include ZXRSAU01 for the specific extractor.

  • Customizing user selection fields of Logical database PNP

    Dear Gurus,
    I had made a z-copy of payslip program for incorporation of Logo. Now we need to put this report in Enterprise Portal (EP). Now since we would not want any user to view any other person's payslip, I need to disable the selection field (PERNR) for user selection.
    Problem is this field for user selection is coming from standard Logical Database (LDB - PNP) used in the program. So how can I make this field hardcoded as sy-uname and non-modifiable without making z-copy of LDB-PNP.
    Also I wish to harcode Payroll Area writing some code (from table PA000) but again I cannot write this in std. PNP LDB and writing it in driver program will not help.
    Thanks in advance.
    Regards,
    Amit

    Write the highlighted coding in initialization ...
    initialization .
    select single pernr from pa0105
           into pernr-pernr
           where usrid = sy-uname.
    if sy-subrc = 0.
      PNPPERNR-sign = 'I'.
      PNPPERNR-option = 'EQ'.
      PNPPERNR-LOW = pernr-pernr.
      Append PNPPERNR.
    endif.
    loop at screen.
    if screen-name = 'PNPPERNR-LOW' or
    screen-name = 'PNPPERNR-HIGH'.
    screen-input = '0'.
    endif.
    modify screen.
    endloop.
    at selection-screen output.
    loop at screen.
    if screen-name = 'PNPPERNR-LOW' or
    screen-name = 'PNPPERNR-HIGH'.
    screen-input = '0'.
    endif.
    modify screen.
    endloop.

  • Automatically fill input fields based on selection from dynamic drop down

    Hi All,
    I tried to search before posting, but i cannot find appropriate thread (maybe wrong keyword).
    My scenario:
    1. In my offline interactive form, I have:
        a.  Material Number --> drop down field with "Allow Custom Text Entry" ticked
        b.  1 execution button to call web service
        c.  Material Group - Input Field (Read Only)
    2. User will enter material number with wild card character (eg: ABC*).
        User will then click the execution button.
        Web Service in result will return all materials that match the entered material number.
        Dynamic binding will do the magic to generate the drop down list.
    3. Beside material number, web service will also return material description and material group.
        Below is the illustration:
         Material        Description       Material Group
         ABC              Material ABC               GRP01
         ABCDE        Material ABCDE          GRP02
    --- so far so good ---
    My requirement:
    Every time user select material from the drop down list, i want to auto-populate field "Material Group" (which value is also returned by web service).
    I know i need to put the script on event change of the drop down field.
    But i don't know how to read internal table returned by web service.
    Hope someone can enlighten me.
    Thanks in Advance !!!

    Solved after reading:
    1. /people/juergen.hauser2/blog/2007/09/03/accessing-data-nodes-in-sap-interactive-forms
    2. Chapter 7 of Live Cycle Designer Scripting Basics
    (http://help.adobe.com/en_US/livecycle/9.0/LiveCycle_Designer_Scripting_Basics.pdf)
    Thanks.

  • Back buttons and required fields...how to implement?

    Hello
    I would like some thoughts on the best approach to the following problem please.
    -You have a wizard, lets say made up of 2 pages.
    -Page 2 has some required fields.
    -User goes from page 1 to page 2 then wants to return to page 1 for whatever reason.
    -(Assuming they havent filled in the required components), what is the best way to let the user navigate back to page 1, without the system kicking in its required fields warnings etc..
    One option I have thought of is populating the fields myself, but this feels like a hack.
    Second option could be to edit the required=#{} of the required components when the back button is pressed?
    Any thoughts?
    JC.
    Message was edited by:
    jamesclinton

    Good tip.
    ok, back to the main thread. immediate = true will result in any data the user entered being forgotten. The solution does by-pass the required rules, so its a mini result.
    Tomahawk does have a stateSave component.
    <t:saveState id="save" value="#{bean.xxx}" />
    And a JavaScipt listener component.. I'm thinking both or one of these could be used to remember/store the state..
    If anyone has any other solutions then please post.
    JC
    Message was edited by:
    jamesclinton

  • Functional Location Required field- Notification processing

    Hello All,
    I would like to maintain Functional Location as a Required field for certain Notification Types. In IMG:
    Plant Maintenance and Customer Service>Maintenance and Service Notifications>Notification Creation>Notification Types>Set Field Selection for Notifications
    Field Selection for Maintenance Notifications
    Field Selection Reference Objects PM Notification
    When I Select Field Selection for Maintenance Notifications>Select Influencing: Notification Types and Selected the desired Notification Type and set Functional Location as a Required field the Notification Type does not have Functional Locatiion as a Required Field.
    When I select Field Selection Reference Objects PM Notification:ISelect Influencing: Notification Types and Selected the desired Notification Type and set Functional Location as a Required field* the Notification Type does not have Functional Locatiion as a Required Field.
    But When I select Field Selection Reference Objects PM Notification:Make Functional Location as a Required field and then Select Influencing: Notification Types and Selected the desired Notification Type and set Functional Location as a Required field* all the Notification Type does have Functional Locatiion as a Required Field.
    How do i make the Functional Location as a Required field for a particular Notification type.
    Thanks
    Krish

    1) Field Selection Reference Objects PM Notification
    2) Click 'Influencing' button
    3) Double-click 'Notification type'
    4) Input your notification type on 'Contents' field, then enter
    5) Select 'Required' for functional location
    Save
    Regards
    Luke

  • TFS Workitems:Bugs : I want ot select different lists, from the global list, for fields basd upon user group

    Hi,
    I am customizing the bug workitem workflow.
     I want ot select different lists, from the gllobal list, for fields basd upon user group
    I am aware that I can use "when" clauses in the allowed/suggested values of the field.
    My question is : how do I get the group(s) that the current user is in and how do use this to select different lists?

    Hi!
    You can not do this through standard way. You must to create the custom work item control:
    http://witcustomcontrols.codeplex.com/
    And get the user group through IIdentityManagementService.
    IIdentityManagementService IdentityService = _workItem.Store.TeamProjectCollection.GetService<IIdentityManagementService>();
    TeamFoundationIdentity _curid = null;
    _workItem.Store.TeamProjectCollection.GetAuthenticatedIdentity(out _curid);
    string _group = "Admin";
    var _gr = IdentityService.ReadIdentity(IdentitySearchFactor.AccountName, _group, MembershipQuery.Direct, ReadIdentityOptions.None);
    if (_gr.Members.Where(s => s.Identifier == _curid.Descriptor.Identifier).Count() > 0) return true;

  • Hiding selection screen fields upon clicking a button

    Hi .
    I have a requirement like we need to hide and bring back the selection screen fields upon clicking a button( Expand and collapse in the same button) .
    in ABAP Query,we can maintain this,  for the variant we created.
    We need this functionality on the selection-screen presently.
    How to achieve this in the selection -screen?
    Valuale pointers are desparately needful.
    Regards,
    SSR.

    Hi,
    SELECTION SECREEN (P_) Parameter
    (S_) Select Options
    SELECTION-SCREEN : BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-001,
    BEGIN OF LINE,
    COMMENT (26) C1 MODIF ID XYZ.
    SELECT-OPTIONS : S_MATNR FOR MARA-MATNR MODIF ID XYZ NO-EXTENSION .
    SELECTION-SCREEN : END OF LINE,
    BEGIN OF LINE,
    COMMENT (26) C2 MODIF ID XYZ.
    SELECT-OPTIONS : S_MATKL FOR MARA-MATKL MODIF ID XYZ NO-EXTENSION .
    SELECTION-SCREEN : END OF LINE.
    PARAMETERS : R_MATNR RADIOBUTTON GROUP RAD1 DEFAULT 'X'
    MODIF ID ABC USER-COMMAND MAT,
    R_MATKL RADIOBUTTON GROUP RAD1.
    SELECTION-SCREEN END OF BLOCK blk1.
    INITIALIZATION.
    C1 = 'Product Code'.
    c2 = 'Product Group'.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF SCREEN-NAME0(7) = 'S_MATNR' OR SCREEN-NAME0(7) = 'S_MATKL'.
    SCREEN-INPUT = '0'.
    SCREEN-INVISIBLE = '1'.
    ENDIF.
    CASE SCREEN-NAME+0(7).
    WHEN 'S_MATNR'.
    IF R_MATNR = 'X'.
    SCREEN-INPUT = '1'.
    SCREEN-INVISIBLE = '0'.
    ENDIF.
    WHEN 'S_MATKL'.
    IF R_MATKL = 'X'..
    SCREEN-INPUT = '1'.
    SCREEN-INVISIBLE = '0'.
    ENDIF.
    ENDCASE.
    IF R_MATNR = 'X'.
    IF SCREEN-NAME = 'C1'.
    C1 = 'Product code'.
    C2 = SPACE.
    ENDIF.
    ENDIF.
    IF R_MATKL = 'X'.
    IF SCREEN-NAME = 'C2'.
    C2 = 'Product Group'.
    C1 = SPACE.
    ENDIF.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    Hope it helps.
    best regards,
    Nagaraj Kalbavi

  • How to store the AccountID of a user in a field based on selection of name in a different dropdown

    When our form is first loaded we store the current users name in the "username" field.
    I have a “VPApprover” drop down field which is doing a look-up to a secondary list where we have two columns, Approver Name and Department. The Name column is a person column and I currently have the “username” displayed in the view
    When a user is creating a new request they need to select a VP Approver
    What I want to do is when the user selects an Approver,  store the Approvers “username” aka "AccountID" from the secondary list in the vpusername field on the form. Then on future editing of the form, I’ll compare the “username” field to the
    “vpusername” field and if they are the same display an “Approve/Deny” drop-down.
    I've tried selecting different Fields from the Approver secondary list, but can't seem to get the field on the form to update correctly based on the drop-down selection.  I have a rule set on the Drop-down field to set the vpusername field.. The Condition
    is currently “If vpApprov is not blank” ..
    When I get to the Value part, I can't figure out how to "grab" the AccountID of the VP Approver selected and store it in the field on the form. The fields I see in the secondary list under person are "DisplayName", "AccountID",
    and "AccountType".
    Thanks in advance for any help you can give me!!
    Shane Meisner
    SharePoint Solutions Architect

    Hi,
    From your description, my understanding is that you want to store account id to a filed based on a lookup column.
    You could accomplish your requirement with Workflow, you could create your workflow with these steps below:
    Create a local variables.
    Use Set Workflow Variable action to set value to the variable.
    Use Set Field in Current Item action to set value to the column(Please refer to the screenshot below).
    And the screenshot below is the list15 and result in my environment.
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Alert user when saving PDF if required fields are empty/null

    Greetings,
    I've read a fair number of threads on this topic. I am not trying to force the user to stay in a field or otherwise be annoyed. I would just like to alert the user when they save the PDF if there are required fields that have not been filled out. The alert message would simply be a polite reminder to complete the form before sending.
    I'm using Acrobat XI Pro.
    1) Is the Other Tasks/Set Document Actions/Document Will Save the correct place to use a script in this case?
    2) Would the script need to check each required field by name? Or is there a way to reference all required fields in the document?
    3) I've seen some examples like this:
    f = getField(event.target.name)
    if (f.value.length == 0)
        f.setFocus()
        app.alert("This field is required. Please enter a value.")
    However it has some issues with respect to closing the alert dialog and so forth. Can anyone provide a sample script to get me started?
    Thanks!

    Exactly how you check a field for being empty depends on what type of field it is. For text fields, you should get the field's value as a string and compare it to an empty string, something like:
    var val = getField("Text1").valueAsString;
    if (val) {
        app.alert("Field is not empty");
    If there is a default value that needs to be changed, you would compare to the default value:
    var f = getField("Text1");
    var val = f.valueAsString;
    if (val !== f.defaultValue) {
        app.alert("Field value is OK");
    For check boxes and radio buttons, you'd compare to the string "Off", which means none in the group is selected.
    For dropdowns (combo boxes) and list boxes, there is normally one value selected, so you would have to get the value and check against the default value (or something else) to see if the field is properly filled in.
    You could place the script there, but I usually use a separate button that I encourage the user to click in order to check the field. The problem with using the Will Save event is you can't prevent the save from happening.
    The script can loop through all of the fields (and test all required ones), or you could set up an array of field names to check.

  • Change the tooltip of selectively required field

    In the af:query, we mark some fields to be selectively required.
    However we want to have at least 2 fields to be selected instead of just 1 field when doing the search.
    Could we change the tooltip of the '**' from 'At least 1 is required' to 'At least 2 are required'?
    using jdev 11.1.1.7.0
    Thanks

    Hi,
    don't think you can. And if then still the logic would not be in-synch with the text. So if users would ignore the tooltip then they still could issue queries with a single selected value. So the enhancement request you want to file with customer support is to allow multiple required fields with a change to the tooltip then
    Frank

  • How to change the text of a user defined field in dynamic selections?

    Logical Database PSJ is used by t code CJI3 - we added a couple of user fields into the dynamic selections of CJI3.
    Now - how to change the text of this user filed (USR01 of structure PRSP_R in logical database PSJ)?
    Found an OSS note - 86980 - that tells that this is not possible.
    But when we read the documentation on the user field (CJI3 - dynamic selections  - double click on user field - F1), it shows the following text:
    User-defined field in which you can enter general information with a length of up to 20 characters.
    Dependencies
    The names (key words) for  user-defined fields depend on the field key.
    Now the question is where to change the field key..
    Thanks,
    Ven

    Madhu - you did not get the question I think.
    Anyways - I found an OSS note 1266643 - this code change should take care of the issue - it will then reflect the details maintained in custoizng at transaction code OPS1..
    Thanks,

  • Change UI configuration dynamically when ever user selects a new value in a drop down field in WebUI

    I enhanced the standard activity component (i.e BT126S_APPT ). In this component, in BT126S_APPT/ApptSQ view there is a field 'PROCESS_TYPE' which is a dropdown. I have created a server event for this dropdown. So that whenever user selects a value in that dropdown, a event is called and after that DO_CONFIG_DETERMINATION is called. In DO_CONFIG_DETERMINATION, I am checking the value of 'PROCESS_TYPE' and based on that i am setting different config keys, by calling SET_CONFIG_KEYS( ). But the configuration is not changing in WebUI. When I press F2 in WebUI its showing the config keys( searched for ) as I set, but the found config keys are same as before. I have created the configuration with the new configuration keys. Please help, I am new to crm.

    Hello Shakthi,
    The easier option would be to convert the DropDownByKey to DropDownByIndex. If you still want to proceed with DropDownByKey then you need to initialise the ALV data again.  do the following
    1. after changing the attribute-value_set, call the ALV interface controller method SET_DATA and pass the instance of the context node.
    2. reintiliase all the ALV settings like edit mode, converting the column editor to DropDownByKey etc....
    This will ensure the new attribute value set is reflected in the ALV component.
    BR, Saravanan

Maybe you are looking for