If radio button is checked then check box will be selected withoutexecuting
hi,
i have one doubt,
is it possible if i select a radio button i want to check the check box at the same time and vice versa with out executing (f8) .
plz provide the solution,
thanks, in advance.
REPORT ZTEST_CHECK .
parameters: r1 radiobutton group g1 default 'X' user-command ABC,
r2 radiobutton group g1,
p_check as checkbox.
at selection-screen output.
if r1 = 'X'.
p_check = 'X'.
endif.
if r2 = 'X'.
p_check = ' '.
endif.
Check this code,,
Regards
vijay
Similar Messages
-
Acrobat 9-forms-Radio buttons print different than check boxes
I am using Acrobat Pro 9 to create forms.
I've used both radio buttons and check boxes (that are circles).
Forms were designed in InDesign with Zapf Dingbats as the open circles to be filled in.
I used radio buttons when the user had to pick one over the other.
I used check boxes when there were multiple choices or I wanted the user to be able to uncheck a box. (I used the circle style so they would look like radio buttons).
The radio buttons are printing differently than the check boxes. It looks almost like there is an overlay on top of the actual open circle created by Zapf Dingbats.
I checked the "appearance" window and there is no border or fill color on the radio buttons (same for the check boxes).
Under the <general> tab, <common properties> is visible. I'm assuming it should be in order for the radio button to appear on the form.
I would appreciate any input as to how to fix this.
Thansk!
MaureenThat's just the way radio buttons are, and one reason I rarely use them in preference to check boxes. If Adobe wanted to, they could allow you to use any appearance you want for both the selected an unselected state of a check box or radio button, but they've actually further restricted your options over the years.
-
How can I set a radio button to a be checked using an action script?
Acobat X: I have two radio buttons called EnrollmentType with different values. "New Student" and "Returning Student". I need to set 160 forms to returning student, Please
will this work?
getField("EnrollmentType").value = "Returning Student"This is Adobe X Pro:
Ok when I click the properties of the radio button. Both have the same
"Enrollment type".
But each has a different "Radio Button Choice" under the Options TAB.
It does work when I process the forms and save the data.
The field "Enrollment type" contains either "New Student" or "Returning
Student" depending on which option they picked.
I am sending these forms back to the parents to edit any new/changed info
and want it to have "Returning Student" checked since they are in fact
returning and not new anymore. -
Gated check-in dialog box will not be displayed
Hi
I created a Gated check-in build process. I would like the gated check-in dialog box that informs the developer that he needs to build his changes for validation will not appear and will be automatically approved.
Is it possible?
Thanks
RachelHi Rachel,
As far as I know, seem it's not possible bu bypass the prompt window of gated check in. But it allows you to do batched gated builds. With batched gated build, you can specify a build definition to build more than one queued build at a time. Check this
blog for more information. Thanks for your understanding.
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Report With Multiple Radio Button ,How to reset the values of when selected
Reaching out to the experts here. I have a report which i created a radio group which saves the value rownum when the radio buton is selected to a hidden item based on an on click event. There are currently 3 radio button , i need to be able to "reset" the value of the other items when more than of the button are selected .I.E. There are 3 buttons, user clicks button one , but then decides they need to click button two , then realizes they really wanted to perform button 3 , I want to be able to "reset" the value of the 1st two hidden items so the only value populated is the 3rd hidden item. I am new to working with these features and scenarios so any and help would be appreciated.
Here is the report
SELECT APEX_ITEM.RADIOGROUP(1, ROWNUM, NULL,NULL,'onclick="javascript:$x(''P5_HIDDEN1'').value=' || ROWNUM|| '"') UPDATE_RECORD
,APEX_ITEM.RADIOGROUP(1, ROWNUM, NULL,NULL,'onclick="javascript:$x(''P5_HIDDEN2'').value=' || ROWNUM|| '"') DELETE_RECORD
,APEX_ITEM.RADIOGROUP(1, ROWNUM, NULL,NULL,'onclick="javascript:$x(''P5_HIDDEN3'').value=' || ROWNUM|| '"') SET_PRIMARY
,papf.first_name
,papf.last_name
,hl.meaning
,pp.phone_number
,case when phone_type is not null then (select meaning from hr_lookups where lookup_type ='PHONE_TYPE' and pp.phone_type=lookup_code)
end as phone_type
,emrg.primary_contact_flag
from hr.per_all_people_f papf
,apps.hr_lookups hl
,apps.per_contact_relationships pcr
,apps.per_phones pp
,(select contact_person_id,primary_contact_flag
from apps.per_contact_relationships pcr
where pcr.person_id = :P5_PERSON_ID
and contact_type = 'EMRG') emrg
where pcr.contact_person_id in emrg.contact_person_id
and pcr.personal_flag='Y'
and contact_type <> 'EMRG'
and trunc(sysdate) between date_start and NVL(date_end,'31-DEC-4712')
and pcr.contact_type = hl.lookup_code
and hl.lookup_type='CONTACT'
and pcr.contact_person_id = papf.person_id
and trunc(sysdate) between papf.effective_start_date and papf.effective_end_date
and pcr.contact_person_id = pp.parent_id
and pp.phone_type in (select lookup_code from hr_lookups where lookup_type ='PHONE_TYPE')Related thread here How to Pass values from SQL Report into TEXT ITEM ?
Regards, -
Radio Button javascript onclick show hide textbox
Currently, if the radio button is clicked then text box is
shown else if radio button 2 is clicked then textbox is invisible.
(only one textbox being shown or being hidden)
I wish to have 2 text boxes
If radio button 1 is clicked then textbox1 is visible
If radio button 2 is clicked then textbox2 is visible.
What changes do I have to do in my code for this to work?
feel free to test this.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">
function hide() {
var div_ref = document.all("id_div");
div_ref.style.visibility = "hidden";
function show() {
var div_ref = document.all("id_div");
div_ref.style.visibility = "visible";
</script>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
</head>
<body>
<tr>
<td>
Select Device Type <BR>
</td>
<td style="width:200">
<input type="Radio" name="DeviceGroup"
value="Radiobutton1" onclick="show();" checked="checked">Radio
button 1
<input type="Radio" name="DeviceGroup"
value="Radiobutton2" onclick="hide();" unchecked>Radio button 1
</td>
<td>
<div id=id_div style="visibility:hidden;">
Show Textbox1
<input type="Text" name="Textbox1">
</div>
</td>
</tr>
</body>
</html>
Thanksthanks
YES
i will be submitting data to a field in the database.
First the vlaue of the radio Button
For example if the first radio button
then the value of the first radio button value =1
goes to the field in the database
also
the text box that will show. will have data entered in the
tesx box and the value will be submitted
to a field.
thanks
shall i still use your code????
thanks
also, instead of having 2 javascripts controlling the show
hide, just join them and assume that at each click the div is
visible.
the first part of the if statement in the js just makes sure
the div's display is none. then it displays the one you are
calling.
the else allows you to close the divs without having any
open.
i'm doing this from home, so i cant really test it, but, it
looks like it should work.
Attach Code -
Creation of selection screen with 2 radio button groups
Hi All,
I have following selecton screen to be created:
1. Radio Button for File
A. Radio Button for PC File
- Parameter for PC File Input
B. Radio Button for UNIX File
- Parameter for Unix File Input
2. Radio Button for Material
- Material Select-Option
As per above Either of Radio Buttons 1/2 File/Material will be selected.
If 1(File) Selected Radio Button for PC File/Unix File will be selected, No other radio buttons will be active.
If 2(Material) Selected Material Select-option input will be given, No other radio buttons will be active.
How can we write the selection screen code for above design.
Thanks in advance.
Thanks,
Deep.Hi,
go through the following example-----
**************************************INTERNAL TABLE DECLERATION**************************************
DATA: BEGIN OF ITAB2 OCCURS 0,
VALUE(250) TYPE C,
END OF ITAB2.
**************************************DATA DECLERATION************************************************
DATA: PATH LIKE DYNPREAD-FIELDNAME.
DATA : P TYPE STRING,
D TYPE STRING.
DATA : V_DATASET LIKE FILENAMECI-FILEEXTERN.
**************************************SELECTION SCREEN***********************************************
PARAMETERS: V_PATH TYPE RLGRAP-FILENAME DEFAULT 'C:\Documents and Settings\vchaturvedi\Desktop\vijay.txt'.
PARAMETERS: D_PATH TYPE RLGRAP-FILENAME.
SKIP 5.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
PARAMETERS: PC_ONE RADIOBUTTON GROUP RAD1 DEFAULT 'X',
PC_OTHER RADIOBUTTON GROUP RAD1.
SELECTION-SCREEN END OF BLOCK B1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR V_PATH.
HELP FOR SEARCHING FILES PATH************************************************
IF PC_ONE = 'X'.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = 'Z8VIJAY_SHADOWER_COVERSIONDATA'
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = PATH
IMPORTING
FILE_NAME = V_PATH.
*******CONVERT IN TO STRING************
P = V_PATH.
ENDIF.
**************************************SELECTION SCREEN VALIDATION***********************************
AT SELECTION-SCREEN.
IF V_PATH = ''.
MESSAGE E014. "FILE PATH NOT FOUND!!!!!!!
ENDIF.
IF D_PATH = ''.
MESSAGE E016. "TARGET FILE NOT FOUND!!!!!!!
ENDIF.
*******************FOR DOWNLOAD**********
AT SELECTION-SCREEN ON VALUE-REQUEST FOR D_PATH.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = 'Z8VIJAY_SHADOWER_COVERSIONDATA'
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = PATH
IMPORTING
FILE_NAME = D_PATH.
***************CONVERT INTO STRING***********
D = D_PATH.
*******************************************MAIN LOGIC************************************************
START-OF-SELECTION.
IF P = ''.
P = 'C:\Documents and Settings\vchaturvedi\Desktop\vijay.txt'.
ENDIF.
******************UPLOAD DATA FROM OTHERS TO INTERNAL TABLE****************
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = P
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = ' '
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
DATA_TAB = ITAB2
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF sy-subrc = 1.
MESSAGE E014. "FILE PATH NOT FOUND!!!!!!!
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
******************************DOWNLOAD DATA FROM INTERNAL TABLE TO OTHERS******************************
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
FILENAME = D
FILETYPE = 'ASC'
APPEND = ' '
WRITE_FIELD_SEPARATOR = ' '
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
IMPORTING
FILELENGTH =
TABLES
DATA_TAB = ITAB2
FIELDNAMES =
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF PC_OTHER = 'X'.
****************************8FOR ONE SERVER TO ANOTHER************************************************
OPEN DATASET V_DATASET FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF SY-SUBRC = 0.
DO.
READ DATASET V_DATASET INTO ITAB2.
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
APPEND ITAB2.
ENDDO.
ENDIF.
ENDIF.
*********************************PRINTING DATA *********************************************************
LOOP AT ITAB2.
WRITE :/5 ITAB2-VALUE.
ENDLOOP.
****do reward if usefull
Regards,
vijay -
Acrobat 9.1 Mac How do you change from Radio buttons to Check boxes?
I have a DMV Form I Downloaded and had to convert to PS then back to PDF (written originally on PC Acrobat was in XML format).
So on new form, I am able to add fields. I used the the Forms manager to automatically create the fields. Fields that were made Radio Buttons should have been Check boxes. How do change the Radio buttons to check boxes. There are a lot of them and I don't wish to have to re-key them in.
Suggestions?Well when I click on the box it shows a Check mark in the box. That exactly what I need because in the instructions it requires a Check mark in each of the check boxes. Normally the Med form is sent as a paper copy from DMV every two years.
Also another Tip. A PDF that has XML Content. (PC Acrobat Version).
If you want a usable PDF on Mac and get rid of the XML do the following:
Open the XML Based PDF on Mac Acrobat 9.X .
Now choose export and save as Postscript File (.ps).
Now locate and drop on Distiller 9.X.
When PDF created will be a Pristine exact replica of the XML file except Mac Acrobat can edit and create forms with it. -
Radio Button or Check Box Group
Hi,
I built a form based on a query. There is a flag column, only one of queried records is allowed to be "Y" in this column. The rests must be null.
Most ideal thing is to have a radio button group, only one of them can be selected.
Another way is to have a group of check boxes also allow only one checked. Once another check box is selected, the previously selected box must be unchecked.
Does anybody have idea of how to do it?
Thanks,
nullYou have the save the number of the current ("checked") record in your data block.
After that you can launch a trigger which will scan every record in your data block (there are enough built-ins like FIRST_RECORD, LAST_RECORD, NEXT_RECORD, Current_record property, etc.)to allow you to do this. The trigger will set the check item property to "unchecked" if it is not the saved "checked" record.
Joseph
null -
Check radio button to execute when_validate_item trigger
hi,
I need when I check radio button1 to execute when validateitem trigger1
when I check radio button2 to execute when validateitem trigger2 and so on
on which level can I out my code, block or item
I really appreciate your helpHello,
First of all radio buttons can not bet checked. Radio buttons can be selected only.
I need if the first radiobutton is checked to execute this trigger, and if not execute another triggerSo, as andreas said its fine enough to accomplish your requirement.
Suppose you created two radio buttons in radio group. And you set the value 1 and 2 accordingly. Now create one trigger called WHEN-RADIO-BUTTON-CHANGED on item level radio group and use the code like this...
IF :radio_button=1 THEN
-- Here paste your when validate item trigger's code...
ELSE
-- Here paste your another trigger's code...
END IF;
And remove that triggers which you created.
-Ammad -
Is it possible to assign a value to a radio button or checkbox?
I would like to assign radio buttons or checkboxes a value and then have the results of the buttons selected tabulated at the end of a form, if desired. Is that possible? Thanks
Thanks for your reply and help. I appreciate it. I was able to get an export value added to the check box, but did not see and option for a radio button. But the check box works fine for now. Thanks again.
-
Radio button and selection screen
hi
my requirement is that if the user enters some particular combination of value in the select options and clicks a particular radio button there should be an error message displayed.
1) I am getting the error message in the form a dialog box , but it has only option of exit , and the user is thrown of the screen. my requirement is that after the error message the user must still be at the same screen so that he can enter new values.
2) the code that i have written also has one more anamoly that the displaying of error depends upon the sequence of actions .
if i enter the value in the select option first and then click the radio button then the error message is displayed which is correct.
but it doesnt work i click the radio button first and then enter the value, the program is executed and NO ERROR message is flashed.
here is what i have written
SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME.
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: p_year for s021-spmon obligatory ,
p_kunag FOR vbrk-kunag ,
p_matnr FOR vbrp-matnr ,
p_augru FOR vbrp-augru_auft modif id a1 ,
p_vbeln FOR vbrk-vbeln .
SELECTION-SCREEN END OF BLOCK blk1.
SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.
PARAMETERS: nrw RADIOBUTTON GROUP g1 user-command check,
mwd RADIOBUTTON GROUP g1 ,
rws RADIOBUTTON GROUP g1 ,
edu RADIOBUTTON GROUP g1 ,
standard RADIOBUTTON GROUP g1 default 'X' .
SELECTION-SCREEN END OF BLOCK blk2.
SELECTION-SCREEN END OF BLOCK blk.
at selection-screen output.
loop at screen.
if nrw = 'X' and p_augru-low EQ 'MWD'.
MESSAGE e000(oo) WITH '<Please Enter the correct Order Reason>'.
endif.
endloop.
START-OF-SELECTION.
CASE 'X'.
WHEN nrw.
PERFORM set_dates_nrw.
PERFORM load_data_nrw.
PERFORM get_cust_info_nrw.
PERFORM set_alv_field_cat_nrw.
PERFORM display_alv_nrw.
endcase.Hi
Change this piece of code
at selection-screen output.
loop at screen.
if nrw = 'X' and p_augru-low EQ 'MWD'.
MESSAGE e000(oo) WITH '<Please Enter the correct Order Reason>'.
endif.
endloop.
by
<b>at selection-screen.
if nrw = 'X' and p_augru-low EQ 'MWD'.
MESSAGE e000(oo) WITH '<Please Enter the correct Order Reason>'.
endif.</b>
Reward points if useful.
Regards,
Atish -
Enable/disable/defaulting the radio button in tabular Form
Hi friends,
I have one radio button column in my tabular form with 3 values for it.
<li>FC
<li>BC
<li>EC
I need to enable/disable the radio buttons according to the position of the user.
If the position of the user is CEO means,
then FC radio button has to be checked defaultly and also for him he needs to have BC and EC radio buttons to be enabled.
If the position of the user is between(1-4) grades means,
then FC radio button has to be disabled, but BC radio button has to be checked defaultly and also for him he needs to have EC radio buttons to be enabled.
If the position of the user is between(4-6) grades means,
then FC, BC radio button has to be disabled, but EC radio button has to be checked defaultly.
How i can achieve this radio button enabling/disabling and defaulting it dynamically according to the user.
Where i need to specify this kind of restriction inorder to work for me in my application.
Brgds,
MiniHi Bob,
thanks for your reply first, and your suggestion too.
I tried in the below manner on the lov definition of my radio button and it hide/shown according to the user who logs into the application.
SELECT 'FC' d, 'FC' r FROM DUAL WHERE lower(:APP_USER) = (select lower(user_name) from apps.xxhy_ams_details_v where upper(job_name) = 'CEO')
UNION ALL
SELECT 'BC' d, 'BC' r FROM DUAL WHERE lower(:APP_USER) IN (select lower(user_name) from apps.xxhy_ams_details_v where grade_name
BETWEEN 1 and 4 OR lower(:APP_USER) = (select lower(user_name) from apps.xxhy_ams_details_v where upper(job_name) = 'CEO'))
UNION ALL
SELECT 'EC' d, 'EC' r FROM DUALBut how i can check the radio button defaultly according to the user who logs in .
<li> If the employee with the position CEO logs into the application means, he needs to have FC to be checked defaultly.
<li> If the employee with the grade between(1-4) logs into the application means, he needs to have BC to be checked defaultly.
<li> If the employee with the grade between(5-12) logs into the application means, he needs to have EC to be checked defaultly.
Note:
Instead of hide/show the radio buttons defaultly whether it is possible to enable/disable the radio button according to the user who logs into the application.
Brgds,
Mini... -
NO-DISPLAY option for Radio buttons
Hi All,
I want to hide the 2 radio buttons on the selection screen using the NO-DISPLAY option. when i worked with that its giving an error like 'no-display and radio button group can be specified together'.
my question was is it possible to use NO-DISPLAY option with radio buttons?
Thanks
Kumar.See this sample code
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-h01.
*Radio button for Process PO invoice
PARAMETERS : rb_po RADIOBUTTON GROUP inv USER-COMMAND rad.
" PO Invoice
*Radio button for FI Invoice
PARAMETERS : rb_fi RADIOBUTTON GROUP inv.
" FI Invoice
*Radio button for Process PO & FI Invoice
PARAMETERS : rb_pofi RADIOBUTTON GROUP inv.
" PO & FI Invoice
SELECTION-SCREEN END OF BLOCK b3.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
SELECT-OPTIONS:
s_bukrs FOR rbkp-bukrs, "Company Code
s_ekorg FOR ekko-ekorg NO INTERVALS MODIF ID md2,
"Purchasing Org.
s_ekgrp FOR ekko-ekgrp NO INTERVALS MODIF ID md2,
"Purchasing Group
s_werks FOR rseg-werks NO INTERVALS MODIF ID md2,
"Plant
s_lifnr FOR rbkp-lifnr NO INTERVALS,
"Vendor
s_matkl FOR ekpo-matkl NO INTERVALS
MODIF ID md1,
"Material Group
s_belnr FOR rbkp-belnr NO INTERVALS,
"Invoice Number
s_ebeln FOR rseg-ebeln NO INTERVALS MODIF ID md2,
"Purchasing Document No
s_gjahr FOR rbkp-gjahr NO INTERVALS,
"Fiscal year
s_budat FOR rbkp-budat NO INTERVALS,
"Posting date
s_blart FOR bkpf-blart NO INTERVALS,
" Document Type
s_bldat FOR bkpf-bldat NO INTERVALS,
" Invoice Date
s_usnam FOR rbkp-usnam NO INTERVALS.
"User
*Report type
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
SELECTION-SCREEN BEGIN OF LINE.
*Radio button for User Report
PARAMETERS : rb_user RADIOBUTTON GROUP za DEFAULT 'X' <b>USER-COMMAND rad MODIF ID md2.</b>"User report
SELECTION-SCREEN COMMENT 3(20) text-003 FOR FIELD rb_user MODIF ID md2.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
*Radio button for Managing Report
PARAMETERS : rb_man RADIOBUTTON GROUP za
<b>MODIF ID md2.</b>
"Management Report
SELECTION-SCREEN COMMENT 3(20) text-004 FOR FIELD rb_man
MODIF ID md2.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN OUTPUT.
* Checking Radiobuttons and modifing Material Group field .
PERFORM f13000_check_radio.
FORM f13000_check_radio.
* When the FI button is selected hide the fields under group md1 and MD2
LOOP AT SCREEN.
IF screen-group1 = 'MD2'
OR screen-group1 = 'MD1'.
IF rb_fi = c_x
OR rb_pofi = c_x.
screen-active = 0.
ELSE.
screen-active = 1.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
* If the user output radiobutton is checked then make the screen
* input of Material Group off
<b> LOOP AT SCREEN.
IF screen-group1 = 'MD1'.
IF rb_user = 'X'.
screen-active = 0.
ELSE.
screen-active = 1.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.</b>
IF rb_user = 'X'.
* When display for material group is off
* then refresh the select option for material
* group
REFRESH s_matkl.
ENDIF.
ENDFORM. " f13000_check_radio
hope this helps. -
Radio Buttons, Coldfusion and HTML
Hello.
I want to use 4 radio buttons. Each one has a different $
amount. The user chooses a radio button ($ amount) and then clicks
on the PayPal donation button which sends the user to the PayPal
payment page with the correct $ amount chosen.
The HTML code for the PayPal link allows me to use the
following code:
<input type="hidden" name="amount"
value="<cfoutput>#MoneyAmount#</cfoutput>">
I just have to figure out how to get the MoneyAmount chosen
by the user depending on which radio button is chosen.
I do not want to put the radio button into another form
because as I understand it the user would have to click another
submit button first via cfform. That defeats the purpose. Any way
to find out which button is chosen with out using the submit
button?
If you are confused at what I am talking about, check out
this website that has what I want:
http://www.licadho.org/donation.php
They do it with Javascript but I am sure I can do it in
ColdFusion.
Any ideas.
I appreciate the help.
PedroThey appear to do it with a simple form, not javascript.
Plus, they have radio buttons on the form. What exactly are you
having difficutly with?
Maybe you are looking for
-
How to print pictures with ipad ??
Hi.. I'm using Canon M620 printer that has a wireless print capability. When I got pictures folder in my ipad and select a picture and the go to options I can see a printer option. When I select it my ipad cannot detect my printer. What do I have to
-
Unable to get past message about "Find my IPOD Touch" when ITUNES starts
When I connect my IPOD Touch to computer and Itunes opens, I get the screen shown below and unable to get past it. I can access all other stuff in Itunes. I am unable to sync by IPOD. Clickin on the supposed links in the message does nothing. This is
-
Why is this thing so ******* slow
i have nothing but problems with this macbook air and no apple tech can help including the apple store people no one can help me although ive paid an extra 300 dollars for their ****** suport anybody please ******* help me
-
Displaying data from multiple table/column
hello .. anybody can help me how to diplaying data from multiple table/ column in PHP. TQ
-
I just connected my Ipod Tough to my Powerbook, which has been main iTunes compter for about 3 years, and it told me it couldn't load any of my Purchased songs & deleted about 150 of them from my Ipod. I then had to use up another of my 5 authorizati