Using a checkbox to disable a series of radio buttons

Hello ladies and gentlemen,

I'm in the process of converting a lot of Word documents in fillable PDF format on the screen.

The form, I am currently working on that has radio and check boxes for text fields buttons (as well as several).

My question is this:

If the end user marks a checkbox on a part of the form, I need to disable the following five sets of radio buttons.

I also need to implement this feature/script twice in the document.

I know that this is possible, I'm not sure how to in this regard.

I tried to change several segments of Javascript code available online, nothing helps.

Any help would be greatly appreciated - I can give you the name of the form, screenshots of documents and other information on request.

[Thanks:]

You must call the function with a mouse upwards or blur action with

disable_radio_buttons_DDC()

You may need to change:

this.getField("Supplier_Info-DDC_None").value;

TO:

this.getField (event.target.name) .value;

or event.value;

Since you are still in the field.

Tags: Acrobat

Similar Questions

  • Need help with javascript used to check the data in the mandatory radio button fields

    required_fields

    I get a syntax error (SyntaxError: missing: after the id property 17; at line 18).  I am trying to run a script to verify data in all the fields required radio button before letting the user to submit the form (or save).  Here is the code I use:

    var AllRequiredFieldsSet = true;

    for (var i = 0; I < this.numFields;i++)//loop through all form fields)

    {

    var fldName = this.getNthFieldName;

    var currentFld = this.getField (fldName);

    if(currentFld.type=="radio")

    {

    All the radios that are needed to see if the user filled their

    if(currentFld.Value=="OFF")

    AllRequiredFieldsSet = false; one of the option boxes has not been selected, this form cannot be sent

    }

    }

    If (AllRequiredFieldsSet is false)

    App.Alert ("all the required areas have not been met");

    on the other

    this.submitForm ({cURL"mailto:EMAILADDRESS@gmail.com", cSubmitAs: "PDF"});

    Miss me not all media... Any ideas on what I'm missing?

    Thank you! Judy

    These two lines should fix things:

    var fldName = this.getNthFieldName (i);

    ...

    if(currentFld.type=="RadioButton")

  • Using a drop-down menu to set a radio button

    I searched and seeking in vain, tried a lot of different things can I can't seem to find an answer already or tripping on a similar code to help.

    I have a drop-down list, then when you select different values defined different fields of the form. This part works very well this kind of things in the validate custom:

    If (event.value == 'Thing1') {}

    this.getField("DESC01").value = "Words that fill a description box.";

    this.getField("DESC02").value = "words more that fill another description box."

    this.getField("F_SKILL1").value = "1";

    this.getField("RB_SKILL1").isBoxChecked (1);

    this.getField("F_SKILL2").value = "1";

    this.getField("F_SKILL3").value = "1";

    } Else if (event.value == 'Thing2') {}

    this.getField("DESC01").value = "Different words that fill a description box.";

    this.getField("DESC02").value = 'words of more different that fill out another box of description';

    this.getField("F_SKILL4").value = "1";

    this.getField("RB_SKILL1").isBoxChecked (0);

    this.getField("F_SKILL5").value = "1";

    this.getField("F_SKILL6").value = "1";

    }

    etc, etc. I have a few ifs else different, but they all follow this kind of format. There are also radio button next to the skills on the sheet to visually display this skill is known. I would like to check this option. My isBoxChecked does not work, and I hope it is because it doesn't work like that. I have a lot of radio buttons on the form, but they all 1 choices in them are no groups. Again, I use it as a Visual representation that SKILLX is known. The area I dropped the box on the sheet is a very small circle, that's why I'm trying to use a radio button, as it is visually similar.

    If there is a better solution to what I'm trying to do, I'm happy to try it, or if someone can tell me what I am doing wrong that would be great

    Thank you!

    The value of the box is for her to control or to "Off" to uncheck export value

    this.getField("RB_SKILL1").value = 'yes '.

    this.getField("RB_SKILL1").value = 'Off '.

  • How to change the visibility of an indicator programmically using a checkbox

    1. How do I change the visibility of an indicator of programmically using a checkbox?

    2. How can I change the color of a thermometer? I mean, this is how I can change the color when the temperature reaches a certain value?

    Nodes property.

    Right-click on your indicator.  Create > property Node > Visible.  Your Boolean checkbox wire that.

    For the thermometer to create a property node and choose FillColor.  A constant color box wire to one that is in its graphics & > range of image feature.

  • Selection of nodes in tree ADF using the checkbox

    Hello

    I have a tree of the ADF based on two your (Master VO and VO child referential cottages). I have a requirement to select the nodes in the tree using a checkbox for each node in the tree. I need to move the nodes selected for the TF call by clicking on the OK button. The problem that I am running is

    Ideally if I can add the node in a list, whenever the checkbox is enabled or delete it from the list when the check box is not selected, it would have been the best solution. How ever on by activating the check box for a node directly the change event of the checkbox value is raised before the selection event and so I do not have the current node. Is there a way to implement a tree ADF with selection of the checkbox for all nodes?

    Currently how I implement it is clicking OK I iterate over all records to see which has the transitional attribute corresponding to the box set to true but it must treat all records in the tree and it is an expensive process, especially when my tree is much larger.

    Thank you

    Hi user,

    I don't know if your 'best solution' is actually the best, but I can help you get there.

    Check this blog for you will learn how to ID in the changeValueEvent box.

    ADF tips: how to get the value of the user interface components. | Oralublog - Blog of Oralution

    In the example I use an actionEvent. The changeValueEvent should give you the same functionality.

    Now that you have the RowId, you might be able to achieve your solution using your list.

    Concerning

  • Should what product I use to create and present a series of modules with text, audio and video? As a super duper powerpoint?

    Should what product I use to create and present a series of modules with text, audio and video? As a super duper powerpoint?

    I think you could use DW, but it would be browser based and you need to understand a lot about html, css and javascript to do. Adobe Captivate seems closer to what you want: http://www.adobe.com/cfusion/search/index.cfm?term=buy+captivate&loc=en_us

    Is not part of the subscription of cloud creative and is 1000 US $ or $29.99 / month on its own...

  • Assign an ID to multiple records in bulk by using the checkboxes.

    I have a data block that contains the number of records. There is a check box against each file. and a button below the records.

    I want to assign an id to multiple records whose check box is selected.

    My requirement is when I click on the button under the block, then unique id must be assigned to all the records check box is selected.

    Maybe it is done by means of cursor or loops or both.

    Please, help me in coding of what trigger button.


    Thank you very much.

    Press and hold in the other block (control block) and when pressed to release button

    go_block('block_name');
    first_record;
    IF :check_box = 'Y' THEN--means checked
       :unique_id := 'value';
    END IF;
    if :system.last_record = 'TRUE' then
      eixt;
    else
     next_record;
    end if;
    first_record;
    

    But beware when the checkbox is disabled also.

    I want to update each record in the block but it is not working. below is my pl code behind button.
    

    If it is a block of the base table, you cannot update in the before update trigger?

    Published by: GD on September 9, 2011 23:25

  • How to use the checkbox to select several lines of af: table

    Hi all
    I want to use the checkbox to select several lines of af: table

    Kind regards
    Tom

    Hello

    look at this link
    http://Sameh-Nassar.blogspot.com/2009/12/use-checkbox-for-selecting-multiple.html

    Kind regards
    Felix

  • How to use a checkbox - Yes/No in a db update form

    Hello;
    I'm trying to use a check box on a form, I created. I need a function or not. If it is enabled, it's Yes, if not, not.

    I have it in a form that can add a "user" or to update an existing record. For now, it is throwing an error and it is for the code in the box. The following code is important for that and the error:

    page userEdit.cfm

    < name cfparam = "url. RecordID' type = 'integer' default '0' = >
    < name = "cfparam variables.ID" type = "integer" default = "#url." RecordID #">"
    < name cfparam = "variables. Default Pnom"=" ">
    < name cfparam = "variables. Default lname"=" ">
    < name = "cfparam variables.userName" default = "" > "
    < name = "cfparam variables.password" default = "" > "
    < name = "cfparam variables.email" default = "" > "
    < name = "cfparam variables.admin" default = "" > "

    < cfif url. RecordID GT 0 >
    < name cfquery = "useRec" datasource = "#APPLICATION.dataSource #" >
    SELECT user. FName, user. Lname, user.userName user.password user.email, user.admin, user.ID
    The USER
    WHERE user.ID = < cfqueryparam value = '#URL. "RecordID #" cfsqltype = "cf_sql_integer" >
    < / cfquery >

    < cfif useRec.RecordCount EQ 1 >
    < cfset variables. RecordID = useRec.ID >
    < cfset variables. Fname = useRec.Fname >
    < cfset variables. Lname = useRec.Lname >
    < cfset variables.userName = useRec.userName >
    < cfset variables.password = useRec.password >
    < cfset variables.email = useRec.email >
    < cfset variables.admin = useRec.admin >
    < / cfif >
    < / cfif >
    < head >
    ......
    < body >
    < cfoutput >
    < action = "action.cfm cfform" method = "post" > "
    < cfinput type = "hidden" name = "ID" value = "#variables.ID #" >
    ... more for the fields here...
    < cfinput type = "checkbox" name = "admin" value = "#variables.admin #" >
    ... introduce buttons here...
    < / cfform >
    < / body >

    «"" "Action page:»»"»

    < isDefined ("Form.RecordID") cfif >
    < cfquery datasource = "#APPLICATION.dataSource #" >
    UPDATE user
    User SET. Fname = < cfqueryparam cfsqltype = "cf_sql_varchar" value = "#form. ' Fname # ' >.
    user. Lname = < cfqueryparam cfsqltype = "cf_sql_varchar" value = "#form. "Lname # ' >.
    user.userName = < cfqueryparam cfsqltype = "cf_sql_varchar" value = "#form.userName #" >.
    User.Password = < cfqueryparam cfsqltype = "cf_sql_varchar" value = "#form.password #" >.
    User.email = < cfqueryparam cfsqltype = "cf_sql_varchar" value = "#form.email #" >.
    User.admin = < cfqueryparam cfsqltype = "cf_sql_varchar" value = "#form.admin #" >
    WHERE ID = < cfqueryparam value = '#form. "RecordID #" cfsqlType = "CF_SQL_INTEGER" >
    < / cfquery >
    < cflocation url = "indexUser.cfm? "RecordID = #Form.RecordID # ' addtoken ="no">
    < cfelse >
    < result cfquery = "GetNewRecord" datasource = "" #APPLICATION.dataSource # "dbtype ="ODBC">"
    INSERT INTO user
    (Fname Mname, Lname, username, password, email, admin)
    VALUES (< cfqueryparam cfsqltype = "cf_sql_varchar" value = "#form.) ' Fname # ' >.
    < cfqueryparam cfsqltype = "cf_sql_varchar" value = "#form. "Lname # ' >.
    < cfqueryparam cfsqltype = "cf_sql_varchar" value = "#form.userName #" >.
    < cfqueryparam cfsqltype = "cf_sql_varchar" value = "#form.password #" >.
    < cfqueryparam cfsqltype = "cf_sql_varchar" value = "#form.email #" >.
    < cfqueryparam cfsqltype = "cf_sql_varchar" value = "#form.admin #">) "
    < / cfquery >
    < cflocation url = "indexUser.cfm" >
    < / cfif >

    My error message:

    Run database query error. [Macromedia] [SequeLink JDBC Driver] [ODBC Socket] [Microsoft] [ODBC Microsoft Access driver] Number of query values and destination fields is not the same.
    The error occurred on line 33.

    That's the line where it is supposed to put the checkbox in the database on the action page.
    How to use a checkbox for this? The box is the admin in the db and that is set to a value of yes/no tab

    Thank you.

    CFmonger

    Quote:


    Posted by: CFmonger
    I have corrected the error, it is not that throw more. He made a new record now when I check the checkbox.

    I think we should probably with me that this box will do when it updates or adds a new record in the database scope? Fix? That is why it adds a new record instead of just checking the Yes/No in the database table.

    If it's my problem, how do I reach the present?

    This isn't your problem. The code in the OP shows the application update and insert the same if/else logic-driven.

  • Resize the system checkbox and radio buttons system

    Is it possible to resize the system checkbox and radio buttons system. If we right click on one of them and go to properties, size controls are disabled. I wonder if it's feasible.

    Also I noticed that I could add the new radio buttons to do a right-click and choosing Add new button. Is it possible to achieve this programattically.

    Kind regards

    Austin

    AustinCann wrote:

    Is it possible to resize the system checkbox and radio buttons system. If we right click on one of them and go to properties, size controls are disabled. I wonder if it's feasible.

    As mentioned, system controls cannot be customized, because they depend on the windows theme. However, here are some Boolean values, so all you need to do is use an ordinary Boolean value and import the graphics that you want in the case of true and false. They can easily be made to look like an oversized check box. More details, especially about radio buttons can be found here.

    AustinCann wrote:

    Also I noticed that I could add the new radio buttons to do a right-click and choosing Add new button. Is it possible to achieve this programattically.

    You could probably do it in edit mode programmatically by using scripts. You can't do it at run time.

    To fill a RadioButton with new Boolean values, you can simply drag the new values Boolean inside or even shift-do drag an item to create a copy of it. Don't forget to change the labels to something intuitive.

  • Disable certain value in the Radio button group

    Hello

    Is it possible to have a group of radio buttons but have certain values with disabilities while they are displayed but cannot be selected while other values in the Group of radio buttons are selectable.

    I know that I could have two groups of radio next to each one showing the selectable values and another next to it showing disabled values but I'd rather have a radio group so that the values are in order.

    We currently use apex 4.2.5.00.08

    Thanks in advance

    where to enjoy a group of radio buttons with three values

    Yes, no, both

    so it's the two of us, without deactivation function

    -on your condition

    real action in dynamic action

    run javascript

    $("#P2_CHOOSE_STATUS_"+0).attr ("disabled", true);

    $("#P2_CHOOSE_STATUS_"+1).attr ("disabled", true);

    P2_CHOOSE_STATUS IS THE NAME OF THE ELEMENT

  • Is it possible to disable the radio button group?

    Hello.

    I want to know is - it possible to temporarily disable the radio button group? Because IM planning group temporarily disable the radio button in my project so that the timer to pause. Can someone help me?

    No you have to use the names of buttons, for example:

    Btn1. Enabled = btn2.enabled = btn3.enabled = false;

  • Create the form in word with checkboxes, radio buttons, comment fields and signatures

    A couple of years, I have created a form that has been filled with some radio buttons and checkboxes, then sent for signatures. Example below:

    Project owner : {{                   $ReqName}}

    {{I0}} {{K0}}

    Udio has

    Project Manager:

    {{$K1}}

    {{$K2}}

    {{$K3}}

    APPROVED

    REVISE and resubmit

    DENIED

    {{SBlk1_es_:signatureblock: signer1}}

    {{#ReqName = * RequiredName_es_:sender}}}}

    Is it still possible to use, or should I drag-and - drop all the buttons?

    Hi sarahm62404467,

    Yes, you can do it with services eSign, but central form is abandoned.

    Kind regards
    Nicos

  • How to disable the radio button to the page

    Hi all
    We have a requirement to disable or hide a button on the standard page Noritifacation reassign in R12.
    The page is/oracle/apps/fnd/wf/worklist/webui/NotifReassignPG.
    When I went to 'Customize Page', I see a "messageComponentLayout", when I put the property "Rendering" to "false".
    He hides the complete available, but I want to just hide only a single radio button in this provision.
    Can someone please?

    Thank you
    Dilip

    Dilip salvation,

    When you click on the link of customization on the OPS page, you can click on full view to display all possible customizations
    This can be done.

    Expand the full view and see if you can find the option button that you want to hide.

    If you are not able to find it, then you can try using controller extension (extension of CO)

    Enter the bean of your controller class processRequest() radio button and hide.

    The extension of controller code-sharing:

    {
    OAMessageRadioButtonBean testButton = (OAMessageRadioButtonBean) webBean.findChildRecursive ("RadioBttn1"); RadioBttn1 is the ID of RadioButton
    testButton .setDisabled (true);

    }

    Kind regards
    Had

  • How you gray out / disable fields in an option button if another radio button is selected in Adobe Acrobat Pro XI?

    How you gray out / disable fields in an option button if another radio button is selected Adobe Acrobat XI Pro?

    I have created a form where the user has three options to make a payment.

    1. charge on my credit card
    2. costs related to the bank account
    3. By check or money order

    My problem is, under each option, there are required fields that must be filled. So if the user chooses the first option, charges on my credit card, they would fill in the mandatory fields (card credit number, expiry etc.). But when they click on the "submit" button to send the form, he won't let them, because there are a of the fields required in the title of the second the second option, the costs related to the costs related to the bank account. Is there a way to gray out or disable the other two payment options when it is taken. I guess I'll have to use javascript, but what would be the coding and what field do I write under?

    Thanks in advance guys

    I do all the fields that are not required until the user selects the relevant box.

    For example, as soon as the user selects the credit card radio button, only credit card fields are required.

    It could be the script to make the credit card required/not required fields:

    var r = this.getField("PaymentMethod").value;     Use the name of the radio here group

    var CCfields is ['Field1', 'Field2', 'Field3'];.         Enter the names of the fields of credit card here

    If the user has chosen credit card as payment method, make the required credit card fields

    If (r == 'Credit Card') {}

    for (var i in CCfields) this.getField(CCfields[i]).required = true;

    }

    Else, no required credit card fields

    else (var i in CCfields) this.getField(CCfields[i]).required = false;

    You should do something similar for other types of 2 payment, for example

    If (r == "Bank account") {}

    do something

    }

    etc.

    ......

Maybe you are looking for

  • FaceTime camera do not work after the installation of Sierra on MacBook Pro

    After you install macOS Sierra on my MacBook Pro retina, mid-2012, the custom of FaceTime camera turn on? What should do? Mr. Elkjaer of the Denmark

  • laptop password admin or power on password

    did not use computers for a long time. When I finally turned it on this game a black screen with a blue box asking admin password or password running after unsuccessful attempts, he gave me a disabled system code #55146425

  • Podcast icon is gone - iphone

    This is the first time I posted. According to me, I tried everything and could really do with some help. I lost my podcast icon on my phone. [iphone 6 iOS9.2] I tried to search for him on the phone, but nothing helped. It is not hidden in all folders

  • Satellite U500-1F4 - upgrade in Windows 7 Home Premium to professional?

    I'll buy the Toshiba Satellite U500-1F4 with pre-installed Windows 7 Home Premium 64-bit that can be retrieved using Toshiba-HDD recovery. I can upgrade these BONES using WAU Home Premium to Professional 7 Windows, or should I buy Windows 7 professio

  • 573 aspire E5 - G BIOS .fd file

    Hey everybody, hope you guys can help. I downloaded the BIOS of my laptop on the Acers Web site, but even if I try to open it with 7zip, there is no .fd file here. Where can I find it? Thank you.