I need to make a required field 'A' if the user selects "OFF" in a ON / OFF dropdown

I need to make it a required field 'A' if the user selects 'OFF' in a drop-down list box ON / OFF.

Ideally, I would like to make several required fields - A, B, C, D, but I limit myself to one if someone can help me please.

You must run a JavaScript script for action 'the blur '.

If (event.value == "OFF") {}

this.getField("A").required = true;

this.getField("B").required = true;

this.getField("C").required = true;

} else {}

this.getField("A").required = false;

this.getField("B").required = false;

this.getField("C").required = false;

}

Tags: Acrobat

Similar Questions

  • How to make a required field in OAFramework

    How to make a required field in OAFramework when running? Please explain in detail if possible.

    Thank you
    Kumar

    Get the handle to the bean by using the following Code

    Bean = webBean.findIndexedChildRecursive ("");
    If (bean! = null & )
    {
    bean.setRequired (true);
    }

  • The center of GL is a required field!  Check the definition of file format in the header of the file

    Hello

    I'm new in Hyperion FDM. I'm trying to load a txt file using the FDM multiload feature. I created a VBScript script to load data. When I run the script, it ends without error but doesn't load any data. I get the following errors in the log file

    * Start the journal entry for the Runtime Error FDM [2012-01-29 16:20:07] *.
    -------------------------------------------------------------
    ERROR:
    Code............................................. 2621
    Description... The center of GL is a required field! Check the definition of file format in the header of the file (lines 1-6).
    File = 10_SAMPLE_Actuals_JAN - 2011_RM.txt
    Process... clsMPLoader.fStructGetText
    The component... upsWMPLoaderDM
    Version.......................................... 1111
    Thread........................................... 3212

    IDENTIFICATION:
    User............................................. admin
    Name of the computer... RAJNEESH
    App name... testfdm1
    Client App....................................... WorkBench

    CONNECTION:
    Provider......................................... ORAOLEDB. ORACLE
    Database server...
    Database name, orcl
    Trust connect... Fake
    Connect status... Open connection

    GLOBALS:
    Location......................................... SAMPLE
    Location ID... 748
    Location Seg... 2
    Category......................................... ACTUAL SPENDING
    ID of the category... 12
    Period........................................... Jan - 2012
    Period ID........................................ 31/01/2012
    POV Local........................................ Fake
    Language......................................... 1033
    User Level....................................... 1
    All Partitions... True
    Is Auditor....................................... Fake

    Here is the content and the format of the text file that I am trying to load

    SAMPLE
    ACTUAL SPENDING
    Jan - 2012
    1
    R, M
    a, v, e, v
    A1, version1, e1, 100
    A2, e1, version1, 100
    A3, version1, e1, 100

    Obviously there is something wrong in the above txt file. Someone can let me know whats wrong, I have do. I see also error in the following database tbatchcontents table after the code end run VBScript

    10_SAMPLE_ACTUALS_JAN - 2011_RM. TXT_CHECK FAILURE (CODE = 2621)

    Need your help. Thank you.

    Published by: rajneesh sharma on January 29, 2012 14:02

    Please see this post-online Multiload Essbase

    Thank you

    Todd Rebner

  • How to make windows require a password during the installation of new programs?

    How to make windows require a password during the installation of new programs?

    Hello

    You will not be able to circumvent the password that appears before the execution of actions (installing a new program) in a non administrator account.  If you are logged on as administrator, and again, you get the command prompt, you can disable UAC (User Account Control) to stop the password dialog window.

    However, as a work around you can right-click on the installation of the program files and select run as administrator. Check if this is useful.

    Let me know if I can help you with this question or any problem related to Windows.

  • How to make a slide to wait until the user has answered a question correctly, even after activation of a smartshape?

    Background:

    I created a questionnaire in which the user must answer each question correctly before to proceed to the next slide. That's what I did:


    • Set preferences Settings > required > respond to everything - the user must answer each question to continue
    • Set the number of attempts at the level of the question to infinity
    • Made the Next invisible button and disabled the PlayBar

    In this way, the user can proceed to the next slide in the issue with the submission process - and, since attempts are endless, this means that after having answered the question correctly.

    Current objective:

    I want the user to be able to click on a prompt for a hint. To configure this, I did the following:

    • Created a smartshape titled 'click_for_hint' to display the text that says: "click here for a tip.
    • Created a smartshape labelled 'hint' text display
    • Show "hint" success value "click_for_hint".

    Now, when the user clicks on the text that says: "Click here for a hint," the suspicion appears. So it works - great! However, once the indicator is activated, I would like to for the user to continue endless attempts until respondent correctly to the question... and then only after answering correctly, proceed to the next slide.

    The problem:

    If the user has submitted one or more wrong answers, and then activates the indicator, the slide just waiting until the user has answered the question correctly. Instead, it will be set in playing, proceeding to the next slide. I tried the smartshape 'hint' to take a break on the success of adjustment, but it does not work.

    Is there a way to make the slide to wait until the answer to the question correctly before moving on to the next slide, even after the indicator has been activated?

    Are you aware that your required parameter can cause problems, the blocking of the user? It is also completely useless because you have unlimited attempts at the level of the issue and hid the next button (hope, you don't need review, otherwise, I would recommend not to hide this button but slide it under the Clear key: the Question slides in Captivate - Captivate blog)

    The index problem is related to the fact that a simple gesture going out of reading. I would like to see the timeline of the slide, to compare the points of suspension form and the question slide button. And maybe this blog can also clarify difference between simple/advanced: Why choose Standard Simple action?-Captivate blog

    Regarding the buttons on question slides form: buttons on slides of Question/Score of Captivate 6?-Captivate blog

  • PCM - data import and fields defined by the user - model import or the XML API?

    Hello

    I am currently partially by an implementation of the PCM with my business and have created a few user-defined fields in the application companies. I have data from a form on the internet into a CSV file that I want then to eye-ball before loading of PCM.

    I created a copy of the "export contracts report template ' to include these fields defined by the user, but when I try to re - import the data, the user-defined fields are not populated.

    No one knows if the user-defined fields can be updated in PCM, and if so does to do through the functionality of the XML API?

    Kind regards.

    Published by: 914327 on February 14, 2012 03:39

    The simple answer is that the built-in import utility is designed to import a preset list of fields only and will not import your custom fields even if they are added in the import file, and you will need to use the API to import these fields.

    However, there are unsupported methods to import this data directly to the database, or to add custom fields as options available for import. I can tell you more about these methods on the forum offline if you are interested.

  • How to make a required field

    I use Adobe LiveCycle 8.0. I just created my first form. There are a few fields I want to make required. I already have from the TAB order, the way I need it to be. Here's what I got: If a user begins to fill the form does not fill in the information in the customer ID field, & they type the tab key, I want some sort of error appears telling them the customer ID field is required. Is this possible? Thank you

    As Dallas Kuhn said:

    If (this.rawValue == "| this.rawValue == null) {}

    xfa.host.messageBox ("the customer ID field is required.");

    }

    The script must be added to the Exit event for the customer ID field.

    Can you post the form and I'll have a look?

  • How to make the optional password field to create the user form?

    Hello

    IM generate a random password when I create a new user on OIM.

    The only problem is that I do not know how to do the fields:
    -Password
    -Confirm password

    ... be optional.

    Since they are mandatory, the user must enter a password, even if it will not be used, because I generate a random password and overwrite.

    I already looked in the FormMetaData.xml in the section

    < name of the form '3' = >

    ... but the fields, I would like to make optional are not included.

    Any help is appreciated.
    Adriano.

    Certainly, you need to change tjspGenerateCreateUserForm.jsp

    Example:



    value = "abcd1234" Refresh = "true" readonly = "true" styleClass = "Fields" tabindex = "1" / >



    value = "abcd1234" Refresh = "true" readonly = "true" styleClass = "Fields" tabindex = "2" / >

    See metalink Note 468779.1

  • validate required fields before using the custom e-mail button

    Hello

    I have a custom button that I use as a button email so that we could have a cc address added. The code I use is:

    Form1.subform.Button3::click - (JavaScript, client)

    var oDoc = event.target;
    oDoc.mailDoc({)
    bUI: true,
    cTo: "[email protected]."
    cCc: "[email protected]."
    bassujetti: "title of the form."
    });

    Is there a way I can validate that 3 text fields are filled when the user clicks on the button?

    Thanks for any help you can provide.

    to check if a field is filled in, you can use the if statement to check if the rawValue is null

    var boValidation = true;

    If (textfield1.rawValue == null) {}

    Validation failed

    boValidation = false;

    }

    If null does not work, it might be because it's a checkbox or radiobutton or dropdownlist, etc. needed if the value is 0

    If (chkBox.rawValue == 0) {}

    Validation failed

    boValidation = false;

    }

    Now, when you're about to send the email check is the fields were filled with success

    If {(boValidation)

    var oDoc = event.target;

    oDoc.mailDoc({)

    bUI: true,

    cTo: "[email protected]."

    cCc: "[email protected]."

    bassujetti: "title of the form."

    });

    }

  • I need to make an adjustment from + 20 to the temperature of color on all my changes? How?

    HI gang.

    I outsource my editing and when I come back the images sometimes the needs of white balance, warming up. The problem I have is that all the changes have a different white balance setting.

    It's as if the editor has a screen slightly out-of-calibration wish to fix this.

    I don't know about global corrections and it has been suggested in the library, select all offensive images, then press the arrow of the temperature. But more cooks things. I'm talking about minor changes.

    If I do it developing sets even white balance between each image rather than add.

    Then... there at - there a way to do this?

    'Adjustments' are not yet implemented in LR 6/CC:

    http://feedback.Photoshop.com/photoshop_family/topics/relative_presets_would_save_the_day

    There are a few plugins available that will allow the application settings and presets, but you can also do this by using the graduated filter:

    Lightroom: Presets to develop Relative would save the day!

    In LR 6/CC the Temp slider changes the color temperature by 50 ° with a setting of 1.

    Is not the increase of + 20 you are looking for, but it's a very small "visual"change." You will need to 'Sync' the filter setting graduated through all the images.

  • Show/hide fields based on the user's selection

    I know little of Javascript, but my first attempts to integrate it in Acrobat are bothersome. I have created a simple form where the user via a check box the number of people that he or she must register, then the form shows that several fields to complete. I tried to make it work with a single field, before I add more.

    In this example, I'm trying just to get the second hidden registered field if the user checks only 1 person to register. (I already know that I have issues when it comes to hide several fields).

    If (event.target.value == "0") {}

    this.getField("Registrant2").display = display.hide;

    }

    Given that I do not know what is the value of exports, try this:

    If (event.target.value! == 'Off') {}

    this.getField("Registrant2").display = display.hidden;

    }

    You can add an else clause so that the field is displayed when the check box is not selected:

    If (event.target.value! == 'Off') {}

    this.getField("Registrant2").display = display.hidden;

    } else {}

    this.getField("Registrant2").display = display.visible;

    }

    If this does ' t work, you don't maybe not the correct domain name. Verify that the console (Ctrl + J) to see all JavaScript errors are reported.

  • How to provide the value of a field defined by the user through java code

    I use OIM 11.1.1.5.
    I have a single-customer-number called user-defined field. This field must be pre-filled in the course of the creation of the user (using the interface user Web of IOM) and the value is a java code.

    Does anyone of you can tell me the high level steps to implement this.

    Thank you!
    Kabi

    You can view them in the tables...

    The tables you need are latest_plugins, plugin_metadata, plugin_zip

  • Can you create a text field entered by the user that the content of the flow in a subform?

    I'm working on a project to convert into a document library of more than 600 forms from Word to PDF, most of the time it's simple and binding the fields to the database schema and use subforms works very well - however, there are some cases where there is a combination of input fields by the user mixed with fields of database and in some cases , the fields in the end user are all there, but the amount of content can vary from 250 characters to thousands.  The project manager wants a PDF that allows users to enter any amount of text they should and have the function of shaping the way it is as if all the fields have been populated by the database - I don't know of a way to make that work only if the content is first registered in the schema (or implement CM and have all users working in LiveCycle, but the basic data use PDF, take her is not an option right now).

    If anyone has any ideas how to operate the these things I would be very happy to hear about.

    Thank you very much

    R

    Hello

    If you can post your form in the post, I can have a look and give my comments.

    I created a sample file for your reference...

    (1) Flowed is set to the content property for Page1.

    (2) each text box is placed inside a subform that is also a property content value Flowed.

    (3) in the properties of the form, as the default tab, set the format of PDF rendering dynamic XML form.

    (4) in the properties of the form, on the overview tab, specify the Type of Preview as "Interactive form" and preview XML Adobe as a 'dynamic XML form' form. (this step is to preview the PDF file in the Designer).

    (5) to save the form as dynamic XML form. (File-> Menu save under).

    I hope this helps.

    If you have any questions, please post your form...

    Thank you

    Srini

    Please find the example file the slot location

    https://Acrobat.com/#d=qQohvZGsJrky-sTdPTJbzA

  • [OIM11gR1] Adding fields looking for the user in the free service request

    Hello

    Someone at - he already tried to add additional fields to the query under IOM search component? For example, when to change the user profile assigned role or a resource of supply?

    Unlike in the administration interface, I have not found a way to add self-service research fields.

    Thanks for your help

    MOS article: 1311568.1

    -Marie

  • How to make a video play automatically when the user gets to a certain point/pixel?

    I am creating a Web site with an embedded video using the YouTube widget. I want the video to start playing when the upper part of the widget reached the top of the screen, in this case to 400 pixels. Can anyone help? Thank you in advance!

    You will need to use a suitable script that triggers the YouTube Player.

    Mylenium

Maybe you are looking for

  • AOL emails

    My email worked very well this morning, now I can't get in from Firefox. I get this message: The page is not redirecting properly Firefox has detected that the server redirects the request for this address in a way that will never end. I can get with

  • Problem with DVD/CD-RW on a P10 with XP home SP2

    Satellite P10 804 Windows XP Home SP2.When I use my DVD - RW to write CDs (I'm not sure about only read) DVD - RW then won't recognise a DVD until I rebooted the machine.Of course, he is stuck in a kind of internal mode.How can I fix?TFAI

  • News on Apple to fix this bug in iOS 9.3?

    Has there been any news or updates from Apple regarding the bugs with iOS 9.3 and links not working not on Safari and the hyperlinks attached in e-mails, the device crashing? Become very frustrating

  • Satellite C870D - 11 X - Realtek WLAN Driver and adapter issues

    I hope this is the right place for some kind of assistance. Last week, I installed a Windows Update option for the Realtek Wireless Adapter. Once it was installed, the wireless connection dropped after 5 minutes and the only way to restore it was to

  • scanning and copying problem

    Hi all I have an officejet pro 8600. He developed a failure when scanning and copying only. It prints very well. When scanning/copying in black and white I get only a series of black lines vertical, probably 100 or more, arranged like a bar code. Whe