Disable a form

Hi All,
I am using Adobe Live Cycle Designer ES 8.2, to create some form and using ASP.Net and SQL Server 2005 for displaying and storing form Data.
I didn't get how to perform following things.
Suppose i have 2 different forms FormA and FormB, on FormA there is a checkbox saying "Enable form B". whenever this is checked formB and all its control should be enable and whenever it is unchecked formB and All its controls should be disabled.
Any one have any idea?
Thanks for the HELP!

You may have to enable the 'disclosed' property of the form B pdf before form A can progarmatically access the fields of form B and manipulate their properties.

Similar Messages

  • How to disable 6i forms

    Hi All,
    We have migrated from 6i to 11g forms and We are ready with 11g forms now.
    But all the users have 6i fmx in there standalone systems. I want them to use only 11g.
    Is there any way to disable 6i forms when any user try to open 6i forms it should not allow to use it.
    Thanks,
    Maddy

    Hi,
    Developers will access the Production DB in some case where they fix issue in the production.
    In forms created here, all the forms have code built in that prevents users from running out-of-date forms. They have a built-in version value that is updated with each new release, and when the form starts up, it compares its internal version number with that stored on the database. If the versions don't match, the form issues an error and will not display any data. With each new release, a script is provided for the systems people to run that updates the version numbers in the database. If they fail to compile, or fail to move the fmx to production, or any other problem occurs during installation, the forms will not run
    Steve, Can you explain me a bit clear the above suggestion? what is this built in version and how can I get the value of it?
    Thanks,
    Maddy

  • How to disable certain form fields from a calculation with a check mark fields.

    How to disable certain form fields from a calculation with a check mark fields.
    In Canada we have to taxes
    I create a form that calculate them to a total
    I need to be able to turn off any of those to taxes to participate to the calculation and their visibile field should become 0
    I was thinking using a checkbox (when checkbox is on (Yes) the tax is calculated, Not ticked (Off) the tax is not calculated and the visible field should show 0 or nothing....
    I really need help on this one — I’m a complete newbie....
    Remark that the second tax is calculated on the sum of what the first tax add (first tax is pan-canadian tax (all provinces).
    The second tax is never use alone (Quebec only (on top of the Canadian one)
    Sometime for outside Canada sell - No tax at all is calculated....
    What should I do?

    I want to tank you to help, really appreciate —>
    This is the code and order... I just trow the checkbox in there (they have, so far, no purpose...)
    The code use is
    var a = this.getField("pricehorstx");
    event.value = Math.round (a.value * 7.25) / 100
    I guess -If the checkBox are check - The tax should be calculate — If “Off” the tax should be not calculated and PriceHST and /or PriceQST should show zero or be empty — The HST is always calculated in Canada, but the QST is added only in Quebec.
    I need to turn both to Zero for international sale.
    Message was edited by: Chacapamac

  • If the javascripe is disable, the form would not submit

    Hi , I have a from, , collect some data and input into db, I want if the java script is disable, the form is on submit, or have other way to do the form validation?

    It's really hard to tell what your question is.
    If you're using struts, then the form beans can include validation, or you can specify validation in an external configuration file.
    If you're not using struts, I suppose you could do form validation outside of the servlet, say in a servlet filter, or in a different servlet that forwards to another servlet.
    It sounds like these would be basic questions. I strongly urge you to find a tutorial written in whatever your native language is.

  • Disable "Distribute Form"

    Relative newbie here, I have developed an interactive pdf form using LiveCycle Designer.
    When the form is opened in Acrobat, there is a purple bar at the top that says:
    "Please fill out the following form.  If you are a form author, choose Distribute Form in the Forms menu to send it to your recipients"
    This is a form which, when filled out, will have very confidential information in it and we would rather not have our inventors use this feature.
    1. Is there a way to completely disable Distribute Form from the menu?
    2. Alternatively, can I at least remove/hide this bar that directs them to go to the Forms/Distribute Form menu item?
    3. Would also like to disable the "Clear Form" menu item.
    4. On an unrelated note, when I use the app.menuExecItem("Save As");
    is there a way to include a default file name for the Save As?
    thanks in advance,
    Brian

    Sorry that this is late Brian.
    But I may have found a way to do it.
    In your orignal form, go to File, then Properties.
    Once there, select the Inital View Tab. After that in the UserInterface Options section click "Hide window controls"
    This will disable the "purple bar" completely. You will then need to re-save and re-open the file and voila.
    Edited to Add: Oh yeah, this is NOT an April Fools Joke - lol

  • Having trouble disabling fields form in LiveCycle 8.1.2

    Hello,
    I have been working with live cycle for 3 weeks now and I need to edit a form to be dynamic so that a user can select a check box and certain fields are available depending on what's selected.
    ex: is user checks oper_bird than txt field oper_secur_id is available to be written in.
    I have set the fields to "readOnly" initially and I am now having problems with JavaScript to disable the fields.
    I have read the documentation on the differences between AcroJS and XFA and I am still confused. The form is set to dynamic and
    Heres the code I'm trying to get to work (I am using it on a radio button to enable or disable a txt field for testing):
    // Function to enable form fields
    function EnableField(cFieldName)
    // First acquire the field to be enabled
    //var oFld = xfa.form.F.resolveNode("$.." + cFieldName)
    //if(event.target.rawVaule == 1)//oFld)
    //{ // Next acquire the hidden field with the normal colors
    popup()
    //var oNmlFld = xfa.form.F.resolveNode("$..NormalColorsFld")
    //if(oNmlFld)
    //{ // Make field interactive
    $oFld.access = "open";
    // Restore Normal Colors
    $oFld.fillColor = oNmlFld.fillColor;
    $oFld.borderColor = oNmlFld.borderColor;
    $oFld.fontColor = oNmlFld.fontColor;
    // Function to disable form fields
    function DisableField(cFieldName)
    // First acquire the field to be disabled
    var oFld = xfa.form.F.resolveNode("$.." + cFieldName)
    if(oFld)
    { // Make field Read- Only
    oFld.access = "readOnly";
    // Set Grayed out colors
    oFld.fillColor = "192, 192, 192";
    oFld.borderColor = "171, 171, 171";
    oFld.fontColor = "125, 125, 125";
    I removed some of the conditionals to see if the events were happening. The code is in "Init" and the functions are called respectively in the "mouseUp" for "enable" and "disable"
    Thanks for the Help

    Okay, heres where the problem stands now:
    I disabled the fields, made them "readonly", however I can not reactivate the Fields to bring them back into a "User Entered - ..." value after setting them to "readonly". I know I am getting the calculation script to work because I am changing the colors of the field depending upon input.
    WorkflowUser could you you still want to take a look at the script? if you want to of course.
    Thanks again.

  • How to disable the form after i click a link in WAD

    Hi All,
    I have a WAD template where there are a lot of hyperlinks and buttons present to enable the control to go to same or different templates. What I want to achieve is once i click on a hyperlink, the whole form should get disabled so that I may not be able to click on any other link until the control goes to a different page. I tried using document.form.disabled = true which though gives the look and feel of the form as disabled after click of the link but still doesn't stop me to click other links.
    I also tried document.form.getElementById("Id").disabled = true for the links but still the same thing happens.
    The above commands work fine if i use them outside WAD, but don't seem to work in WAD.
    Any thoughts?
    Gaurav Jasoria

    Hi Friends,
    This is really urgent.Can you please suggest me a way out.
    Regards,
    Gaurav Jasoria

  • Disabling user form fields in Jsp..

    Hi I wrote a function to disable form fields for a resource.
    function disable(element){
        if(element != undefined){
            element.disabled = true;
            element.className="Fieldsdisabled";
            element.value="";
    when I call this method like  below , it disables textbox, textarea but not radio button field, Can anyone please help what mistake I am making.
    var element1=document.resourceObjectForm.elements["resourceFormData.parentFormData['UD_NY_'City_NAME]"];
                      disable(element1);  { This is a text field which gets disabled}
    SimilarlyTextarea, combo box gets disabled.
    But when I use it to Disable a radio Button  having two values like X,Y:
                      var element3=document.resourceObjectForm.elements["UD_NY_CITY"];
                      disable(element3); (This is radio button field}
    It is not disabling it.
    Can anybody tell what is the mistake here?

    Thanks for your reply!!!!!!!!!!
    I know about resource object form i am just asking what is the use of user define field in resource object form. How can we use it. Like when we create any user defined field in under User form those fields display on create user form but when we create any user defined field in resource object from those are not displayed in form.
    If anyone has used or worked on user defined fields in Resource Object or resource object form; please give me an overview over the same.
    Regards
    Alabhya Goel

  • Disable a Form Javascript in Acro 7 Professional

    Hi all,
    I have a form with some alerts that appear when you open the form (with messages like: "you need to have the latest adobe reader" and things like that).
    I have a server arquitecture in which I open the pdf with an Acro 7 professional, of course every time that I open the pdfs the messages are shown.
    My question is, anybody knows how can I disable the javascript execution in Acro 7 Professional?
    I have found a way to do that in Edition, Preferences, Javascript, Disable javascript. But that option seems to be not working when you create the form with Designer!
    Thanks in Advance.

    try it without the quotes maybe?
    document.forms[0].textBoxPropertyName.disabled=true;Without seeing the html generated for the page, it is impossible to say if your javascript is right or not.
    What about it doesn't work?
    Do you get a javascript error?
    Does it disable the field, and the error is later?
    One thing you do need to be aware of, if you disable a field on the page, it will not submit a value with the form. That can sometimes trip people up.
    cheers,
    evnafets

  • How to Disable Tools-- Form settings option..

    Hi Experts,
    I have created two users User1 and User 2, i want the form settings option to be disabled for the 2nd user. How to Disable it? Any Inbuilt settings in SAP B1.
    waiting for the earliest reply.
    Regards,
    Magesh.

    Hi magesh,
    You can do it by creating Additional authorization,follow the below path
    Administration>System Initialization> Authorizations-->Additional authorization
    creator.
    Enter authorization id,name,option,Click update.
    Click Add sub-level.
    Enter authorization id,name,option,Click edit button next to form setting,
    Enter form id for Form settings,For ex,63771,Click update,Click update.
    Now click open general authorization>Select required user>User authorization-->
    Set required authorization(Full/Read/No).Click Update.
    Hope above solution will solve the problem.
    With regards,
    Jeyakanthan

  • G/L account disable in Form Setting

    Hi,
    My client in using SAP 2007B PL 15. They want the option to manually choose the revenue account at the time of invoice. So i had removed the revenue account. I create the delivery document for Exciseable item. When I try to create the OEI, the system asks to enter the G/L account but when I check the Form settings the active column of G/l account is disabled.
    I'AM LOGGED IN AS MANAGER. We do not want to enter the G/L account in the delivery document.
    In another company of the same PL, in fact in all other databases,  in form setting the G/L account is active and visible and enables me to choose the necessary account.
    What might me the problem
    Kalli

    Hi Kalli......
    During AR Invoice system allows you to change the Revenue account manually.
    But not during OEI level. There is no need to change GL at delivery level because ultimate effect of Delivery is
    FG stock Credit and COGS debit.
    But you want acct to be hit is Revenue which is affected during AR Invoice.
    Its happening in PL19. Actully it happens in PL15 also.......
    Regards,
    Rahul

  • Disabling/Hiding form elements

    Is there any concept of disabling or hiding elements in a form on the fly that could be done on a MIDP 2.0 phone? For instance, hiding a text box unless user clicks a button which displays the textbox.
    Any help appreciated.
    Thanks,
    Karl

    There's no method for hiding the elements directly, but it would be easy to implement: have a reference to the element you want to hide/show, and just delete() it from the form object to hide, and insert() (insert() and not append() so you can push it back to it's old position on the form) it back to show.
    shmoove

  • Disable 'Interactive Form'

    Hi All,
    Imagine i store an Interactive PDF On a content server, but when I open the file trough transaction CV03N I don't want the pdf to be interactive anymore...
    Any idea ???
    Thank you in advance !
    Reward granted!!!

    Hello Mark,
    I'm trying to use your strategy to use the ADS to disable the usage rights of a generated interactive form but it doesn't works.I always receive the following messages:
    com.adobe.ProcessingException: Rule: usageRightsRestriction named: RestrictedNodes operation: GetReviewCopy.  <GetReviewCopy> and <Protect> nodes are unable to process ubiquitized PDFs.
    Do you have succeeded in changing the usage rights of a interactive forms after generation?
    Pelaez Lopez Philippe

  • Disable Availability Form

    Hello I was wondering if there was a way that I could disable the Availability Form when opening a sales order
    Thanks in advance

    Hello,
    Seems like in your OM setup "auto schedule" is set to Yes.
    this is the reason why "availability" window is poping up when opening sales order.
    check the following setup.
    1) Profile Option "OM: Auto Scheule" should be set to NO.
    2) In the Transaction Types under "Shipping" TAB the field "scheduling Level" should be set to "no scheduling"
    3) also in the same transaction type uncheck the checkbox "Autoschedule"
    If any of the above fields are set to yes then you will get the "availability" window automatically.
    Thanks
    -Arif.

  • Disable entire form

    Hi,
    I have a requirement to disable an entire form and make it read only based on item value, is there a way to do it?
    Thanks,

    Hi Samara,
    Samara wrote:
    I'm using APEX 4, do I need to install this jquery plugin?- You don't need to install anything, unzip the file and place the .js and .css file in web server images directory or upload to workspace static file under shared components
    a) If you use server directory
    <script type="text/javascript" src="/i/jquery.readonly.js"></script>
    <link type="text/css" rel="stylesheet" href="/i/jquery.readonly.css">or
    b) If you upload to workspace images directory
    <script type="text/javascript" src="#APP_IMAGES#jquery.readonly.js"></script>
    <link type="text/css" rel="stylesheet" href="#APP_IMAGES#jquery.readonly.css">
    Samara wrote:Is this disabling items, buttons and links (i.e every thing)?- The code provided only disables items and buttons for disabling link take a look at the updated code:
    http://apex.oracle.com/pls/apex/f?p=25471:2
    function disableLink(e) {
        e.preventDefault();
        return false;
    function readOnlyItem() {
        if ($v('P2_ITEM1') == 1) {
            $(':input').each(function () {
                $(this).readonly(true);
                $('#link1').bind('click', disableLink);
        } else {
            $(':input').readonly(false);
            $('#link1').unbind('click', disableLink);
        $('#P2_ITEM1').readonly(false);
        return false;
    Samara wrote:Why I need to include it in page 0? can't be in the header?- I was referring to plugin files .js and .css they can be added in page 0 region or page template. I personally combine all custom js into one file, minify it and place it server. By placing plugin files in page 0 or template you can call your js/method in all pages. But, you can always place it in page header where you call the script.
    Regards,
    -Senthil

Maybe you are looking for

  • Free XML Editor

    Hello All. I'm looking for a freeware/shareware xml editor that I can recommend to client. Needs to be able to view/edit xml schemas. 30 day eval of XMLSpy or similar is not an option. Any experience and input is appreciated. tx.

  • HT1338 why my macbook pro is running slow now ?

    why my macbook pro is running slow ?

  • OCI Punchout - Standard Call Structure - Creates new session each request

    Hello all,   I am having trouble with a customer attempting to do OCI Punchout with the Standard Call Structure.  I have other customers successfully punching out in this same system.  Here is a breakdown of what is happening.  Our catalog is a combi

  • DBMS_STATS/DBMS_STATS_INTERNAL won't recompile without errors.

    I'm trying to drop and recreate the AWR in an Oracle 11.1.0.7 database. Per instructions, I started the database with statistics_level set to BASIC to turn off AWR/ADDM and then ran: @?/rdbms/admin/catnoawr.sql -- to drop the AWR structures -- it ran

  • Webservice call from Interactive Adobe form

    Hi, Please provide me the possible solution for the below mentioned issue. 1. Created a webdynpro application. 2. Kept the interactive form on the VIEW of this WDA. Adobe form has 10 fields and one submit button. 3. Now created a web service with onl