Radio buttons---deactivate fields

Hi
plz can anyone suggest code for
by selecting on radiobutton automatically some feilds(or sel-screen blocks) will be deactivated. with out f8
how can i achieve this..

Hi
Try this out
**selection screen
PARAMETER          p_tab TYPE dd02l-tabname .
SELECT-OPTIONS  s_date FOR sy-datum NO-EXTENSION MODIF ID grp.
PARAMETER          p_fname1(5) TYPE c .
SELECT-OPTIONS   s_gjahr FOR MSEG-MJAHR NO-EXTENSION MODIF ID GP1 .
PARAMETER: p_sum RADIOBUTTON GROUP gid USER-COMMAND flag,
                      p_det RADIOBUTTON GROUP gid.
AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF p_sum = 'X'.
      IF  screen-group1 = 'GRP'.
         screen-input = 0.
         clear: s_date[].
         MODIFY SCREEN.
      ENDIF.
    ELSEIF p_det = 'X'.
     IF  screen-group1 = 'GP1'.
         screen-input = 0.
         clear: s_gjahr[].
         MODIFY SCREEN.
      ENDIF.
    ENDIF.
ENDLOOP.

Similar Messages

  • Unable to define Radio Button Text field & unable to change column position

    Hi,
    While designing a screen in Screen Painter, I am unable to define Radio Button Text field as this option is not there in Graphical Element. And also I want to specify the starting position of column of that element different from the default value, but I am unable to define that because the field is non-editable.
    Can any one please help me out.
    Regards,
    Koushik

    Hi,
    Please find below the sample program from ABAP docu :
    PROGRAM demo_dynpro_input_output.
    DATA: input  TYPE i,
          output TYPE i,
          radio1(1) TYPE c, radio2(1) TYPE c, radio3(1) TYPE c,
          box1(1) TYPE c, box2(1) TYPE c, box3(1) TYPE c, exit(1) TYPE c.
    CALL SCREEN 100.
    MODULE init_screen_100 output.
      CLEAR input.
      radio1 = 'X'.
      CLEAR: radio2, radio3.
    ENDMODULE.
    MODULE user_command_0100 input.
      output = input.
      box1 = radio1.
      box2 = radio2.
      box3 = radio3.
      IF exit NE space.
        LEAVE PROGRAM.
      ENDIF.
    ENDMODULE.
    Here radio1(1) TYPE c is defined within the program but in the element list there are RADIO1 element exist. One is actual radio button and the other is Radio Button Text.
    I am not able to create that radio button text using same object name.
    Please suggest.
    Regards,
    Koushik

  • Module Pool Programming - Radio Buttons & Screen Field Invisible or Display

    Hi,
    I have 2 radio buttons in my screen and both of them are checked or on. Not sure how to make one of them is on and other is off at a time. If A is off, i need to make few screen fields invisible or display. if A is on, i need to make the screen field invisible or input enabled.
    Can  you please suggest me a suitable way to accomplish this task.
    Appreciate Your Help in Advance.
    Thanks,
    Kannan

    hi
    try this
    go to SE38 create a program of type M
    go to SE51,give a screen no (ex : 0800) and click on create
    then click on Layout in se51
    in the Layout select the Radiobutton icon and drag/drop it on the layout
    Define them as by double clicking on the radiobutton icon
    First Radiobutton name : RB1, Groups : u can see 4 boxes,in the first box give group as G1
    do the same for the Second Radiobutton RB2.
    Now select both the radiobuttons RB1,RB2 both at a time and right click the cursor
    Radiobutton - Define.
    Then drag and drop a i/o field name : wk_name. save & activate the layout.
    in se51
    PBO
    Module_status_0800.
    Module_screen_modif.
    PAI
    Module_user_command_0800.
    in se38
    data : wk_name(10) type c.
    data : rb1,rb2.
    Module_screen_modif_o/p.
    if RB1 = 'X'.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'WK_NAME'.
    SCREEN-INPUT = '1'.
    SCREEN-INVISIBLE = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    if RB2 = 'X'.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'WK_NAME'.
    SCREEN-INPUT = '0'.
    SCREEN-INVISIBLE = '1'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    endmodule.
    Module_user_command_0800.
    case sy-ucomm.
    when 'EXIT' or 'BACK' or 'CANCEL'.
    LEAVE PROGRAM.
    endcase.
    Endmodule.
    Regards

  • Radio buttons on Customer_H fields in Web UI

    Hi Experts,
    I have a requirement to include the Customer_H fields in Web UI. In the Customer_H table, there are 8 fields, which are currently used in the GUI as follows:
    Field 1 & 2 - Type char1 - Checkbox
    Fields 3 - 8 - Type char1 - 3 radio buttons for each field
    (depending on the selection of a radio button, a corresponding char value is set to the field)
    How do I use the same combination of radio buttons for fields 3-8 on the UI? On the UI, I see checkboxes by default for all the 8 fields.
    I have tried the following:
    For each of fields 3 - 8, I have set the following code in their P_GETTER methods:
      CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_radio.
      ENDCASE.
    Thus, in the configuration tab, I can see "Radio button group" written against these fields and field type as "Radiobutton" in the field properties.
    However, on launching the UI, I still see all these fields as checkboxes.
    Please help me in:
    i) Setting up the radio buttons for these fields (do I need to use value nodes?)
    ii) Displaying the radio buttons on the UI
    iii) Capturing the selected radio button's value and updating the customer_h field.
    Look forward to your reply.
    Thanks in advance.
    Regards
    Vicky

    Hi Stephen,
    I understand your point and agree to it.
    However, I have been able to solve the issue now.
    Solution:
    We need to use the P_GETTER method of the EEWB ZZ field to define:
    i) the field type as radio button,
    ii) the radio button group,
    iii) The way radio buttons should be arranged (horizontally or vertically). If we put no. of cols = 1, then these will be arranged vertically.
    We need to use V_GETTER of the same ZZ field to:
    Assign the key & value to the radio buttons (coding is similar as for dropdowns).
    Following is the code:
    *method GET_P_ZZCUSTOMER_H0101.*
      CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_radio.
        WHEN if_bsp_wd_model_setter_getter=>fp_radio_cols.
          rv_value = 3.
        WHEN if_bsp_wd_model_setter_getter=>fp_group.
          rv_value = 'R1'.
      ENDCASE.
    endmethod.
    *method GET_V_ZZCUSTOMER_H0101.*
      DATA:  lt_ddlb     TYPE bsp_wd_dropdown_table,
             ls_ddlb     TYPE bsp_wd_dropdown_line.
      IF GR_DDLB_FIELD0101 IS NOT BOUND.
        CREATE OBJECT GR_DDLB_FIELD0101
          EXPORTING
            iv_source_type = 'T'.
          clear : ls_ddlb.
          ls_ddlb-key = '1'.
          ls_ddlb-value = 'P1'.
          append ls_ddlb to lt_ddlb.
          clear : ls_ddlb.
          ls_ddlb-key = '2'.
          ls_ddlb-value = 'P2'.
          append ls_ddlb to lt_ddlb.
          clear : ls_ddlb.
          ls_ddlb-key = '3'.
          ls_ddlb-value = 'P3'.
          append ls_ddlb to lt_ddlb.
          GR_DDLB_FIELD0101->set_selection_table( lt_ddlb ).
      ENDIF.
      rv_valuehelp_descriptor = GR_DDLB_FIELD0101.
    endmethod.
    Say the field label of the field ZZCUSTOMER_H0101 is "Grade", then it will show in the UI as below:
    Grade    () P1       () P2       () P3 
    () = radio button.
    Hope it helps.
    Cheers
    Vicky

  • Field labels for Radio Buttons

    when creating radio button form fields in Acrobat, I'd like to also put a label next to the radio button  that correspond to the value when the specific radio button is clicked (like "Yes", "No" "Maybe")

    Normally you'd place that on the underlying page. Fields created with Acrobat do not have labels, but you can fake it by placing a read-only text field or button next to them. If using a text field, set the default value to the same as the value so that it survives a reset form action.

  • Radio button on a from generated with PL/SQL procedure

    Hi,
    I have a form generated with PL/SQL procedure. This procedure calls another procedure on 'Submit'. If I select value for the radio button, it works fine. But if no value is given to the radio button on the form, it gives error. Is the radio button mandatory field by nature? or do I need to give default value some how? How do I make the radio button optional? so that I can call the next procedure without passing the param.
    Create or Replace PROCEDURE OBM_PROCEDURE
    htp.formOpen(OWA_UTIL.GET_OWA_SERVICE_PATH || 'process_obm');
    htp.Print('Admin ');
    htp.FormRadio('p_access_level','A');
    htp.Print('Doc ');
    htp.FormRadio('p_access_level','D');
    htp.formSubmit(cname=>'p_button', cvalue=> 'Submit');
    =================================================================
    Create or Replace PROCEDURE PROCESS_OBM
    (p_access_level VARCHAR2,
    p_button VARCHAR2)
    htp.Print('p_access_level ');
    Thanks!

    Hi
    The parameters of the called procedure should have defualt values like this
    create or Replace PROCEDURE PROCESS_OBM
    (p_access_level VARCHAR2 default 1,
    p_button VARCHAR2 default null
    htp.Print('p_access_level ');
    Thanks,
    sharmila

  • Form Radio Buttons or Checkboxes not created in Acrobat 9 Pro

    If this needs to be placed in another forum, please just let me know.
    I am using Acrobat 9 Pro - current version - 9.4.3.
    I am using Word 2010
    I am running Windows 7
    I have created a simple form in Word.  Using the guidelines from the white paper - Acro9_designforms.pdf provided by Adobe, those fields where I want a radio button insert a checkbox instead when running the Form Wizard in Acrobat.
    My sample is exactly the same as in the sample used in the white paper.
    I used a circle symbol from the Wingdings font, as recommended by Adobe.
    Salutation
    O Mr.
    O Ms.
    O Dr.
    The end result is still a checkbox, even though it is a circle in the display.
    What am I doing wrong?
    I do not want to use LiveCycle Designer, as once the form is created in LiveCycle, the form fields can no longer be edited in Acrobat and I must maintain the ability to edit in Acrobat.
    Thank you for your assistance.

    Oh, the Wizard is a fabulous tool for basic forms.  And, since Adobe has given an extensive list of 'guidelines', which is what I am testing, I thought I would ask for feedback from those who do use it and from those who have had success in using it.
    The Wizard is mostly terrific, if you use the guidelines when setting up the source document.  It saves a lot of manual field creation and fixing later.  This one, though, is not working as expected.   So, I might be doing something wrong and the responses I seek are from those who have had success with the feature - not with manual workarounds, which of course we know can be achieved.  :)
    Nothing is "magic".  I don't think either I or Adobe are implying that it should be.  However, when they state a feature works in a certain way and I am not getting those results, I like to explore why.  Silly me.  hahaha
    The example I gave in my initial post is the only thing in the form, as I am testing the features for when I present this topic.
    I am merely trying to determine if others are having success (or not) when creating their document initially in Word (for example), using the guidelines that Adobe states for Radio Buttons being created.  If there is a certain font that someone is having success with other than those stated by Adobe, I would love to know. For me, so far, it is not.  If it's user error, then I would love to know from someone who has had success.
    Here is what Adobe states as part of their Radio Button form field guidelines when setting up a document in Word, for example:
    § Use circular objects or numbered buttons to in a single row or column to indicate radio buttons.
    § Use group labels to the left of or above each radio button group – otherwise they will default to check boxes. Field names are determined from the group labels and individual button labels from the text to the right of each location.
    § Use the following text labels to have radio buttons created automatically: Yes/No, M/F, Male/Female, Mr/Mrs/Miss/Dr.
    § Use one of the following group labels to have radio buttons created automatically: Salutation, Sex, Occupation.
    thanks

  • Query :Chek box and radio buttons in smartforms

    Hi ,
    When we go to web properties in text . Thierwe find the entries the field name and dropp down down list with text , radiobutton , chek box Etc . .  I have tried to use it but it is not displaying any such radio button or chek box in smartform output .
    If somebody has used it before please tell me  how to use those things .
    Regards

    Hi,
    Ya so please go web properties of text field here u can find check box,
    radio button , hidden fields all the stuff u can use that one.
    Rewards points if it is useful.

  • RADIO BUTTON TALLY -Auto count & display ticked/selected radio buttons

    Hi, feels like this should be simple & straight forward, but obviously for me.
    I have a Questionnaire with say twenty YES or NO answers.
    I've used grouped Radio Buttons as fields so as to pick one or the other.
    I have a read only "YES Tally" text field at bottom of questionaire, formated as 'Number'.
    I want the form to automatically calculate & display the number of YES answers (radio buttons) selected or ticked.
    How can i achieve this?
    ZB.

    If you have your export value for the buttons set to "1" then you only need to use the calculation option "the field is the sum of: " calculation option., or you can use the 'simplified field notation' to sum the field names. If you use and a different value for the export value,then you need to write a custom script and either test for the export value of the "Yes" button or test for the export value not be "Off".

  • Radio buttons breaking validation

    Hi all,
    I have a major problem with a form in that, bizarrely, radio buttons are breaking the validation of mandatory fields throughout the form.
    On trying everything to narrow down what the issue is, strangely this seems to be it. For example, mandatory fields validate up until the first instance of a radio button in the form, where all other successive mandatory fields fail to validate after it. Simply moving a working field to after that first instance of a radio button in the hierarchy breaks it.
    Validation is run through a custom submit button using execValidate.
    Form elements (including radio buttons, text fields, validation/submit buttons, etc.) have been tested independently, and frustratingly, work when lifted into a new document. Therefore there must be something else in the form that's making it fail. Recreating the form isn't really an option due to it's complexity and size.
    Any help would be massively appreciated.
    Thanks
    EDIT: Fixed. After whittling the form down to bare bones and going though the XML line by line (ouch), turns out the only real different thing between my original (broken) form and a new (working) test form was the target version. So changed back to 9.1. Curious, as using Acrobat XI ...
    Message was edited by: JdL

    Hi all,
    I have a major problem with a form in that, bizarrely, radio buttons are breaking the validation of mandatory fields throughout the form.
    On trying everything to narrow down what the issue is, strangely this seems to be it. For example, mandatory fields validate up until the first instance of a radio button in the form, where all other successive mandatory fields fail to validate after it. Simply moving a working field to after that first instance of a radio button in the hierarchy breaks it.
    Validation is run through a custom submit button using execValidate.
    Form elements (including radio buttons, text fields, validation/submit buttons, etc.) have been tested independently, and frustratingly, work when lifted into a new document. Therefore there must be something else in the form that's making it fail. Recreating the form isn't really an option due to it's complexity and size.
    Any help would be massively appreciated.
    Thanks
    EDIT: Fixed. After whittling the form down to bare bones and going though the XML line by line (ouch), turns out the only real different thing between my original (broken) form and a new (working) test form was the target version. So changed back to 9.1. Curious, as using Acrobat XI ...
    Message was edited by: JdL

  • Selection screen: Radio button

    HI,
    I want to create a report with the selection screen.
    In the selection screen. there are two radio button under which there are two fields in each of it.  Like Below
    Radio Button 1
    Field 1
    Field 2
    Radio Button 2
    Field 3
    Field 4
    if the User select the first radio button then Field 1 & 2 should be available for input and field 3 & 4 in the other radio button should not be available for input. which means it should be grayed out. Vice versa.
    Where do i need to modify the screen parameter for the fields?..
    Please suggest me a way forward
    Regards
    Suresh Kumar

    Report ZTEST1.
    DATA : FLAG(1) value 1,
          FLAG1(1) value 0.
    selection-screen begin of block b1 with frame.
    PARAMETERS : APPLSER  RADIOBUTTON GROUP  R1 USER-COMMAND R,
                 P_ASER(25) MODIF ID AS,
                 P_ASER1(25) MODIF ID AS.
    *selection-screen end of block b1.
    SELECTION-SCREEN COMMENT /1(30) comm2.
    *selection-screen begin of block b2.
    parameters : PRESER   RADIOBUTTON GROUP  R1,
                 P_PSER(25) MODIF ID PS,
                 P_PSER1(25) MODIF ID PS.
    selection-screen end of block b1.
    AT SELECTION-SCREEN.
      IF SY-UCOMM = 'R'.
          IF APPLSER = 'X'.
            FLAG = '1'.
            FLAG1 = '0'.
          ELSEIF PRESER = 'X'.
            FLAG = '0'.
            FLAG1 = '1'.
          ENDIF.
      ENDIF.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 = 'AS'.
          SCREEN-INPUT = FLAG.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 = 'PS'.
          SCREEN-INPUT = FLAG1.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Message was edited by:
            Sriram Ponna

  • Transaction with 3 Radio Buttons

    Hi All,
    In a transaction i have a three radio buttons in which
    When the user selects first radio button, the field under first radio button should be input-enabled. Else, they should be input disabled. User should enter only one of the two fields.
    When the user selects second radio button, the field should be input-enabled. Else, it should be input disabled.
    When the user selects Third radio button, the field should be input-enabled. Else, it should be input disabled.
    There should be a pushbutton on the screen,  The text on the pushbutton should vary depending on the radio button checked.
    could any one please help me
    Regards,
    sathish

    Hi,
    Use the below code.
    selection-screen: begin of block blk1 with frame.
    selection-screen: begin of line.
    parameters: p_r1 radiobutton group rad1 default 'X' user-command rusr.
    selection-screen position 10.
    parameters: p_text1(20).
    selection-screen: end of line.
    selection-screen: begin of line.
    parameters: p_r2 radiobutton group rad1.
    selection-screen position 10.
    parameters: p_text2(20).
    selection-screen: end of line.
    selection-screen: begin of line.
    parameters: p_r3 radiobutton group rad1.
    selection-screen position 10.
    parameters: p_text3(20).
    selection-screen: end of line.
    selection-screen: end of block blk1.
    DATA flag(1) TYPE c.
    SELECTION-SCREEN:BEGIN OF LINE.
    SELECTION-SCREEN:PUSHBUTTON 2(10) v_text USER-COMMAND cli1.
    SELECTION-SCREEN:END OF LINE.
    at selection-screen output.
      v_TEXT = 'Rad1'.
    if p_r1 = 'X'.
    v_TEXT = 'Rad1'.
    clear: p_text2, p_text3.
    loop at screen.
      if screen-name = 'P_R1' or
         screen-name = 'P_R2' or
         screen-name = 'P_R3'.
      continue.
      endif.
      if screen-name = 'P_TEXT2' or
         screen-name = 'P_TEXT3'.
         screen-input = 0.
      endif.
      modify screen.
    endloop.
    endif.
    if p_r2 = 'X'.
    v_TEXT = 'Rad2'.
    clear: p_text1, p_text3.
    loop at screen.
      if screen-name = 'P_R1' or
         screen-name = 'P_R2' or
         screen-name = 'P_R3'.
      continue.
      endif.
      if screen-name = 'P_TEXT1' or
         screen-name = 'P_TEXT3'.
         screen-input = 0.
      endif.
      modify screen.
    endloop.
    endif.
    if p_r3 = 'X'.
    v_TEXT = 'Rad3'.
    clear: p_text1, p_text2.
    loop at screen.
      if screen-name = 'P_R1' or
         screen-name = 'P_R2' or
         screen-name = 'P_R3'.
      continue.
      endif.
      if screen-name = 'P_TEXT1' or
         screen-name = 'P_TEXT2'.
         screen-input = 0.
      endif.
      modify screen.
    endloop.
    endif.
    if p_r1 = 'X'.
      clear: p_r2, p_r3.
      loop at screen.
      if screen-name = 'P_TEXT2' or
         screen-name = 'P_TEXT3'.
         screen-input = 0.
      elseif screen-name = 'P_TEXT1'.
         screen-input = 1.
      endif.
      modify screen.
      endloop.
    elseif p_r2 = 'X'.
    clear: p_r1, p_r3.
      loop at screen.
      if screen-name = 'P_TEXT1' or
         screen-name = 'P_TEXT3'.
         screen-input = 0.
      elseif screen-name = 'P_TEXT2'.
         screen-input = 1.
      endif.
      modify screen.
      endloop.
    elseif p_r3 = 'X'.
      clear: p_r1, p_r2.
      loop at screen.
      if screen-name = 'P_TEXT1' or
         screen-name = 'p_TEXT2'.
         screen-input = 0.
      elseif screen-name = 'P_TEXT3'.
      screen-input = 1.
      endif.
      modify screen.
      endloop.
    endif.

  • Capturing user response based on radio button

    I am trying to capture user response based on yes or no reply to a required radio button.  If they answer yes, they need to provide details.  The radio button values are N and Y, nothing listed under item, the captions are turned off. I used the LiveCyclePopUp.pdf sample by George Kaiser as a go-by and modified for my radio button/text field name and added the visible/invisible, but no luck.
    Here is what I'm trying, but it's not working, nothing happens when I click either yes or no, am using javascript. 
    Once this is working right, if possible, I would like to add to my submit button a double check to make sure if this radio button answer is Y and the text box is null, go back and provide the answer, but the most important part is to get this part working.  Any ideas what I'm missing?  Thank you!
    switch (this.rawValue)
        case "Y":
        Response25AY.presence = "visible";
        Response25AY = xfa.host.response("Please enter "YES" details (date, injury details, corrective action) below", "Q25A YES DETAILS", "Please enter "YES" details (date, injury details, corrective action) here . . . ");
        break;
        case "N":
        Response25AY.presence = "invisible";
        break;

    Hi,
    Firstly, the syntax is JavaScript, so when setting the Response25AY, you would need to include .rawValue:
    Use of quotation marks within the script will give a syntax error (around the YES).
    A small note: I would not duplicate the question as a default value. It does not really add value.
    So this should be closer:
    Response25AY.rawValue = xfa.host.response("Please enter YES details (date, injury details, corrective action) below", "Q25A YES DETAILS");
    Can you check the relative reference from the radio button group to the Response25AY object. It may be that the reference in the script is not full enough and is incomplete.
    Also I would place this script in the click event of the radio button exclusion group.
    Lastly, check the JavaScript Console (Control+J) when previewing the form, for errors.
    Hope that helps,
    Niall

  • Radio button forms

    I am trying to make professional looking printable forms for the office. I want to make form that include blocks for text entries and, fill in the circle, radio button type fields.  Any thoughts on templates or programs that will work?

    You can make a form in Pages but to get the interactivity (eg radio buttons) you would need to save as a pdf and add it in Acrobat Pro or similar.
    With Acrobat you get the added functionality of actually collecting the data electronically in a database.
    You may also get radio buttons in Numbers but I question the usefulness if you have to distribute it. Virtually nobody would be able to run it in either Pages, if it were possible, or Numbers.
    Peter

  • How do you grey out/disable fields under a radio button if another radio button is selected in Adobe Acrobat XI Pro?

    How do you grey out/disable fields under a radio button if another radio button is selected in Adobe Acrobat XI Pro?
    I’m creating a form where the user has three options to make a payment.
    1. charge to my credit card
    2. charge associated costs to bank account
    3. By cheque or money order
    My Problem is, under each option, there are required fields that has to be filled out. So if the user picks the first option, charge to my credit card, they would fill out the required fields (credit card number, expiration date etc.). But when they click submit button to submit the form, it won’t let them, because there are required fields under the second option. Also, I have the radio buttons for the three options setup so that if the user holds the shift key and clicks a radio button, it unchecks it. So what I'm trying to do is this: If the user selects the radio button for option 1, the other two options are greyed out/disabled. And if the user holds down the shift key and clicks radio button for option one again, it unchecks the radio button and the other two options are available again. Is there a way to grey out or disable the two other payment options when the other one is picked. I’m assuming I will have to use javascript, but what would the coding be and which field do I write it under?
    Thanks in advance guys

    You will have to use custom JavaScript to access the various properties of the field object.
    The radio button group has a value. When no button is selected that value is "Off". When an individual button has been selected the value for the group will be the option or export value for that individual button.
    Once you have determined the button selected, then you will know the form fields that need to be made required. You use JavaScript to access those fields and change the "read only" property to false, and set the "required" property to true. For the fields associated with the other options, those fields should be reset, made read only, and have the "required" property set to false.
    Disabling (graying-out) Form Fields
    >> Also, I have the radio buttons for the three options setup so that if the user holds the shift key and clicks a radio button, it unchecks it.
    Radio button in a PDF do not work that way. Only check boxes can be unchecked by clicking on one that has been checked.
    If you plan the coding for the Mouse UP action to test for all possible options and code for each of those options you should have what you want.
    If you want actual code you need to provide a lot more details.
    It is even possible to perform some credit card and bank routing number validations with JavaScript and some check digit formulas.

Maybe you are looking for