Hide/Unhide Button on a Custom Form?

Hello!  I am looking for some ideas regarding the ability to hide/unhide a button on a custom form.  Ideally, I would like to create an authorization group, if a user is a member of the authorization group, they can see the button, if not, the button is hidden.  Is this something that can be done?  If not, does anyone have another way of doing this?  Thank you.

Are you asking specifically for Smartforms, SAPforms, Interactive Adobe forms? Or generally about UI programming?
Generally yes, this is possible and is also often done to give the user a more friendly interface to work with (without having to click on buttons, only to discover that they cannot use it anyway).
Many standard transactions are developed in this way.
Cheers,
Julius

Similar Messages

  • Maximize button in a customized form

    Hi friends,
    I have developed a customized Form. In that form close and minimise button are already there but MAXIMIZE button is not threre. How can i attach that button (MAXIMIZE) in my customized form .Kindly suggest me the code and also suggest where should i write that.
    Thanks  & regards
    Sanjoy paul

    Hi
    1) If you use form loaded from xml file when set BorderStyle = 0
    -  fbs_Sizable  : A form with sizable borders.: 0
    -  fbs_Fixed : A form with fixed-size borders. : 4
    -  fbs_FixedNoTitle : A form with fixed-size borders and no title. : 3
    -  fbs_Floating : A form with fixed-size borders, no title, and always on top. :  6
    Specifies the border type of the form, as described in BoFormBorderStyle.
    For more search for <forms> Element in the SAP BO SDK Help.
    For example:
    <Application>
      <forms>
        <action type="add">
          <form FormType="<SET_FORM_TYPE>" type="4" BorderStyle="0" uid="TO_CHANGE"
                title="<Form Title>"
                visible="1" default_button="1" pane="0" color="0"
                left="200" top="100" width="900" height="540"
                client_width="900" client_height="540"
                AutoManaged="1" SupportedModes="15" ObjectType="-1" mode="1">
    2) If you use vb code to create your form:
    Sorry, oForm.BorderStyle is Read-Only property and you can/t set it.
    BR
    Sierdna
    Edited by: Sierdna S on Sep 12, 2008 9:30 AM
    Edited by: Sierdna S on Sep 12, 2008 10:04 AM

  • HIDE - UNHIDE button on parrticular condition

    i have created one screen on which 4 buttons are thr.....now i want tat 2 buttons shoud be shown on the screen at runtime when particular condition is meet otherwise they will remain hide or if thr is any particular error mesage is generated tat button should be shown on the screen.....

    Hi
    if its a report program with selection screen
    u can do like this
    At selection-screen ouput.
    loop at screen.
    if screen-field = 'fieldname'.
    screen-visible = 0.
    modify screen.
    endif.
    implement the logic
    if its a dialog program
    then write the module in PBO
    module ztest.
    loop at screen.
    if screen-field = 'fieldname'.
    screen-visible = 0.
    modify screen.
    endif.
    endmodule.
    Regs
    Manas Ranjan Panda

  • Link Of a Standard Form to a Custom  Form --- Urgent !!

    We are in apps version 11.5.10.2. The Client has custom payslip form suited to their requirement. Now they want a little enhancement feature in the Custom Form.
    The custom pay slip form can be queried by employee number. From then you can get the appropriate payperiod where you can navigate to any of the pay periods and view the payslip for that period.
    Now they want to add a button to the custom form so that on the click of the button the element entries form for the respective pay period is opened. Now we have added a button and gave the reference to the standard form. We do not know exactly how to reference the exact period entries and for the same employee number. Currently it is poping a find window asking the employee number.
    Form gurus...please throw ur light on this ...awaiting ur replies and suggestions.

    do they want to see the element entry form (so Read Only), or do they want to kick off transactions into that element entry form?
    When Read Only, you can use also the Element History folder, or a custom subform, based on the element entries view.
    If not, you have to rework your original custom form, so that she is TaskFlow compatible, and then inheritance should take place by itself.

  • Attachments not enabling for custom form

    Hi,
    I created a simple custom form based on a custom table having only 2 fields. The form works fine.
    I tried adding attachment functionality by setting up -
    - Document Entities
    - Document Categories and
    - Attachment Functions as given in many tutorials online.
    I am still unable to see the attachment icon enabled.
    I also registered the custom table using ad_dd.register_table and ad_dd.register_column and still the attachment icon is not enabled.
    Even the profile option 'Indicate Attachments' is set to Yes at site level. Still does not work.
    Is there any code that needs to be written on the standard attachments trigger in the fmb?
    Please suggest what else I can do to enable the attachments icon/clip?
    Thanks!

    Is there any code that needs to be written on the standard attachments trigger in the fmb?
    Please suggest what else I can do to enable the attachments icon/clip?How to enable attachment button in a custom form
    Re: How to enable attachment button in a custom form
    Please also see old threads.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Attachment+AND+Custom&objID=c3&dateRange=all&userID=494875&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Attachment+AND+Custom&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Sharepoint 2013 pass custom form data

    I am asking the question since this is my first project working with Sharepoint 2013.
    Here is the project requirements:
    1. I created a custom list for users to enter data in a custom form that is modified by Infopath 2013.
    2. Once the user clicks the 'save' button on the custom form, the workflow is started and the workflow will be waiting for certain users to accept or reject the form.
    3. If the form is rejected the user needs to make modifications and the form can be  resubmited.
    4. Once the custom form is accepted, the user will be required to submit bimonthly updates on the progress of the request they made based upon the start and end dates submitted on the original form.
    5. After the custom form as been accepted, a master/detail will be setup with the master being the accepted form and the bimonthly updates will be details.
    Here are my question:
     I want to pass the information from the accepted form to the master/detail form that will do the following 'Once the custom form is accepted, the user will be required to submit bimonthly updates on the progress of the request they made based upon the
    start and end dates submitted on the original form'. Would you tell me how to pass the information from the accepted custom form to being the 'master' part of the master/detail form I just mentioned?
    Is this a good solution? If you how would you change the design and how would you make these coding changes and what would the design change be?

    Hi Scampsman,
    Based on your description, my understanding is that you want to pass data from one InfoPath form to another InfoPath form in SharePoint.
    To achieve this goal, we can write code in the details form with FormEvents_Loading to capture and display the incoming parameters passed from the original form.
    Please refer to the link below for more detail steps(same for InfoPath 2013):
    http://sharepointbeeeye.com/infopath-2010-passing-data-between-forms/
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How to hide / unhide text baxes on button click in JSF page using javascrip

    Hi,,
    I want to hide/unhide text boxes on a button click.
    How to do it in .jspx page using javascript.

    Hi,
    refer this
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1" title="#{lcRes['page.title']}">
         <af:resource type="javascript">
            function hide(evt){
                evt.findComponent('itToHide').setVisible(true);
         </af:resource>
          <af:form id="f1">
            <af:commandButton partialSubmit="true" id="cb1">
                <af:clientListener method="hide" type="action"/>
            </af:commandButton>
            <af:inputText id="itToHide" value="xx" label="this will hide" clientComponent="true"/>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>

  • How to hide 'SAVE' button in adobe form layout

    Hi  Friends,
    I have a requirement to hide 'SAVE' button in adobe form layout .They dont want to save the form .
    Is there any way to achieve this .I have gone through scn ,but couldnt find the proper solution
    Thanks and Regards,
    Subeesh Kannottil

    Hi Subeesh,
    Are you talking about restricting the User from Saving the Adobe Form Output. 
    Regards,
    Sivanand Ala

  • How can I create a custom button for opening a form?

    I have a parent form having child forms. In my main form I want to create custom buttons for opening child forms. I want to use master-detail form but there are more than one child forms, and in master-detail form I can only create one detail form. So I will create a form based on a table and in that form I will call the child forms by custom buttons. Can I do that?
    Thanx,
    Gulsah.

    This can be easily done. First open up two instances of your Portal. In one window, you will need to go into your component you wish to link FROM. In the other window you will need to go into your component you wish to link TO. In the component you wish to link TO there will be a moduleid. Note this somewhere. Then, you will see an area that says: "Call Interface: Show". Click on this. (In the window you are linking to.). In this window, you will see a bunch of stuff. At the bottom you will see a URL call. This is the call you need to use. At the top, it explains each piece of the URL call. Just subsitute YOUR appropriate information into the URL call. In the form you wish to link FROM, create a button. Once you create this button, it will appear at the bottom, click on it and you will see an area to insert a Javascript. Click the onClick and insert:
    //this is the variable you want to pass from one form to the other
    get_field_name = getField(this.form,'COLUMN_NAME_IN_DATABASE');
    //this is so you can open the "child" form
    window.open('/pls/cc_prod/DAD_NAME.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=MOD_ID_HERE&p_arg_names=_sessionid&p_arg_values=&p_arg_names=COLUMN_NAME_IN_DATABASE&p_arg values='+GETFIELD_NAME+'&p_arg_names=_COLUMN_NAME_IN_DATABASE_cond&p_arg_values=%3D');
    In the fourth tab, where it says, "....before displaying form" insert the following: (This will tell the form how to handle the getField function.)
    htp.p('<script language="JavaScript1.3">
    < !--
    function getField(form,fieldName)
    var objName = "";
    var tmp = "";
    var dAction = "";
    var sel_idx = 0;
    var cnt = 0;
    var instance = 0;
    var slicedName;
    var fillData = new Array();
    for (var i = 0; i < form.length; i++)
    slicedName = form.elements.name.split(".");
    tmp = slicedName[2];
    instance = parseInt(slicedName[3],10);
    if (!tmp)
    continue;
    objName = tmp;
    if (objName == fieldName)
    return form.elements[i].value;
    //-->
    </script>');
    I hope this helps.
    null

  • Add attachment button to a custom new form SharePoint 2013

    I'm creating a new custom form using SharePoint Designer 2013.
    I would like to add a attachment button to be able to upload files and images. How can this be done?
    See code below
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <h3 class="ms-standardheader">
    <nobr>Attach Files</nobr>
    </h3>
    </td>
    <td valign="top" class="ms-formbody" id="attachmentsOnClient" style="width: 434px">
    <span dir="ltr">
    <input type="file" name="fileupload0" id="onetidIOFile" size="56" title="Name"></input>
    </span>
    </td>
    <td width="100px" valign="top" class="ms-formbody">
    <input name="Button1" type="button" value="Attach" onclick='OkAttach()' style="width: 6em;
    height: 1.7em" id="attachOKbutton" />
    <span id="idSpace"></span>
    </td>
    </tr>
    <tr id="idAttachmentsRow">
    <td nowrap="true" valign="top" class="ms-formlabel" width="20%">
    <SharePoint:FieldLabel ControlMode="New" FieldName="Attachments" runat="server"/>
    </td>
    <td valign="top" class="ms-formbody" width="80%">
    <SharePoint:FormField runat="server" id="AttachmentsField" ControlMode="New" FieldName="Attachments" __designer:bind="{ddwrt:DataBind('i','AttachmentsField','Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Attachments')}"/>
    <script>
    var elm = document.getElementById(&quot;idAttachmentsTable&quot;);
    if (elm == null || elm.rows.length == 0)
    document.getElementById(&quot;idAttachmentsRow&quot;).style.display=&apos;none&apos;;
    </script>
    </td>
    </tr>
    Im getting error :
    Uncaught TypeError: Cannot read property 'value' of undefined
    form.js?rev=PxBF2F2E04Ut1YUooXDAbg%3D%3D:1
    OkAttachform.js?rev=PxBF2F2E04Ut1YUooXDAbg%3D%3D:1
    onclick
    Somewhere around this line:
    k=document.getElementsByName("RectGifUrl")[0];e.innerHTML='<span class="ms-delAttachments"><IMG SRC=\''+k.value+"'>&nbsp;<a href='javascript:RemoveLocal
    Thanks in Advance

    Create a custom list form or go to your NewForm.aspx using SharePoint Designer. Place the below code where you would like to insert the Attachment Field
    <tr>
    <td width="190px" valign="top" class="ms-formlabel">
    <h3 class="ms-standardheader">
    <nobr>Attach Files</nobr>
    </h3>
    </td>
    <td valign="top" class="ms-formbody" id="attachmentsOnClient" style="width: 434px">
    <span dir=”ltr”>
    <input type=”file” name=”fileupload0″ id=”onetidIOFile” size=”56″ title=”Name”> </input>
    </span>
    </td>
    <td width="100px" valign="top" class="ms-formbody">
    <input name="Button1" type=”button” value="Attach" onclick='OkAttach()' style="width: 6em;
    height: 1.7em" />
    <span id="idSpace"></span>
    </td>
    </tr>
    Thank You, Pallav S. Srivastav ----- If this helped you resolve your issue, please mark it Answered.

  • How to call a custom form on click of a button?

    We have a requirement to call a custom form on clicking a button which is on a standard form. I cant modify the standard form. Is this possible to handle this event from CUSTOM.pll or forms personalization?
    some sample code will help. Thanks in Advance,
    Message was edited by: 988490e8-2268-414d-b867-9d9a911c0053

    Hi,
    I think you are working with Oracle EBS.
    I don't think so that we can able to call the custom form on clicking button.
    We can call the form from the standard form using both custom.pll and form personalization
    In custom.pll using zoom function we can do this and in form personalization we can call the form by using form function, In both we call the form by creating a special menu in standard from and we used to call.
    So please check further, and let me know if any i can help you any.
    Regards
    Sri     .

  • How to make a custom form, buttons etc... please...

    I mean, how to make a form (for example, JFrame) with arbitrary form (geometry, for ex, round, oval, star like etc). I think you understand what i mean.
    Of course, i think i can use winApi, but it's only for windows. It doesn't suit for Java in this problem solution.
    That question also about cusomizing form of buttons, fields.. etc..
    i think, everything.
    What can java allows to cusomize and what not.
    Thanx!!

    I am just a learner and so i can just suggest you a strategy to implement Customized forms in JAVA. However i am sure that in practice it will work as far as Windows OS are concerned. Here is it:-
    The basic IDEA is to declare a native function in JAVA that makes JNI calls which will be further processed by Win32API and processed output will result into an elliptic or any polygonal shaped forms.
    To achieve declare some function as follows:
    public native void createEllipticalForm(formName formRefrance);
    create a Win32 Compiled DLL that manages this function as follows:
    (Mindwell, i havent stated what you call as pure-code but just a pseudo-code to the actual implementation)
    public native void createEllipticalForm(formName formRefrance)
    /* Search for the below stated Functions in Win32 API and work on
    them. I see a ray of success if you work with these functions properly.
    Further-more I assume that you are aware with concept of HANDLES */
    createEllipticRegion(); //WINDOWS.H
    showWindow(handleToTheForm); //WINDOWS.H
    Search for "createEllipticRegion() or showWindow()" on the GOOGLE to get the pure win32 API Code for Creating Customized Forms.
    Reply me in case any of you people get a solution based on my idea.
    [by VISH]

  • Hide/Unhide Column in WAD via Button

    Hi,
    I would like to create a Button in WAD that hides or unhides a certain column (key figure) from a DP in the WebReport. What is the INSTRUCTION to Hide/Unhide a column?
    Thanks for your help!

    Hi Andreas,
    Use Generic Navigation Block to hide or unhide a keyfigure.
    Use generic Navigation web item
    Assign the report to the data provider
    After execution select the navigation block and select the keyfigures and uncheck the check box for the keyfigure to be hidden.
    Regards
    RaM

  • Text Items And Push Buttons Created on a customized form does not appear.

    Hi,
    I created a custom form and attached it to ebs. The form opens without any error.
    I had 3 text items and 2 push buttons with proper property class applied to them. But I am only able to see the prompt of the first text item. All the other widgets are not visible. What could be the possible cause for this.
    Deepak

    How are you running the form? Have you deployed it properly and attached it to a menu/form function and are viewing it within EBS?
    Did you open the TEMPLATE.fmb form and save a copy of it as the starting point for your custom form?
    --Johnnie                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Hide Button "Delete " Using Customizing

    Dear Experts
    I need hide the button Delete of the services of ESS .
    Is posible using customizing?
    Thanks

    Its based on use case config in the subtype table V_T7XSSPERSUBTYP
    Change/use the appropriate use case.

Maybe you are looking for

  • I have images that are embedded, but I want to link to an exernal image instead - how can I do this?

    I have an illustrator CS5 document, and somehow a few images were embedded, rather than linked to. I need them to be linked and not embedded. How can I change them?

  • Box Office - listings unavailable

    I select box office but not programme listings are shown and the message Box Office listings not available?  I've checked my WIFI settings and all are ok, I've reset my Sky Box.  What else could be the problem here?  Could it be that I need two input

  • New Files always open up in 2 inch columns

    Whether I am word processing or opening a data base, the new file open up in a two inch column Preferences doesnt allow me to alter this. I have to go to 'page set up,' then to format and adjust the margins for each new file. It has been this way sin

  • How to convert div to JSF tag ?

    Hi guys, I got a problem on using the following code:                                    <c:if test="${requestScope.error == 'errLogin'}">                               <div class="error">                               <h:graphicImage styleClass="ima

  • Any one really use mw to upgrade 11i to R12?

    any one is really ising mw to upgrade 11i to R12?