Inserting radio buttons in standard template of SRM EBP
Hi All,
We have modified the standard ITS service BBPSC01 template SAPLBBP_SC_UI_ITS 120 , to include two radio buttons as below:
`if (gs_scr_itmovr_h-is_approver == "X")`
<table>
<tr>
<td align="right" class="instruction">
<label for="apprrej"><input type="radio" name="apprrej" on click="java script:setAp prDefault();" ><b>Approve</b></label>
</td>
           
<td></td>
<td align="left" class="instruction">
<label for="apprrej"><input type="radio" name="apprrej" on click="javas cript:setReje ctDefault();" ><b>Reject</b></label>
</td>
</tr>
</table>
`end`
When the screen is displayed initially both radio buttons are deselected .Thats fine but after we select any radio button and click any button on screen both the radio buttons are again deselected.
How to keep the radio button selected after server event?
Thanks,
Anubhav
Regards,
Anubhav
I think you have hit on a major conceptual issue that the
whole software
industry seems to be quite focussed on namely the
designer/developer
conundrum.
Who knows?
Maybe ther will be a solution of sorts soon?
The Krisper wrote:
> I am having an issue, as a newbie, figuring out how to
insert forms or radio
> buttons over top of an exported site design from
Fireworks 8. I have created my
> website entirely in Fireworks 8 and the site re-creates
nicely in DW 8, but I
> cant seem to just go ahead and insert anything overtop
the image once its
> imported into DW. I would love some help help with
export options (as fireworks
> sends a jumble of code when exporting html and slices)
and some help with best
> practices. I find it useful to create the site in
Fireworks and any help would
> be appreciated...
>
> Chris
>
Similar Messages
-
I am not able to get <cfinsert> to work to insert into a remote DB2 database. I have been able to get cfquery INSERT's to insert into the DB2 database. I have not been able to get radio button data to INSERT into this database.
This is what I have tried:
surveyForm.cfm:
<html>
<head>
<title>Survey Form</title>
</head>
<body>
<h2>Enter a Survey Form</h2>
<cfform action="surveyAction.cfm" method="post">
Branch:
<cfinput type="text" name="BRANCH" size="4" maxlength="4"><br><br>
Contact Name:
<cfinput type="text" name="CONTACT_NAME" size="40" maxlength="40"><br><br>
Did you get what you needed today?  
<cfinput type="radio" name="NEED_FLAG" id="radio" value="Y">Yes
<cfinput type="radio" name="NEED_FLAG" id="radio" value="N">No
<cfinput type="radio" name="NEED_FLAG" id="radio" value="X">Did Not Answer<br><br>
<br><br>
<input type="Submit" value="Submit"> <input type="Reset"
value="Clear Form"></td>
</cfform>
</body>
</html>
surveyAction.cfm:
<html>
<head> <title>Insert Survey Form</title> </head>
<body>
<!--- This works until I add the radio button to the insert --->
<!--- Insert the new record --->
<cfquery datasource="AXMISC_SURVEY">
INSERT INTO SURVEY.CAF_SURVEY
(BRANCH, CONTACT_NAME, NEED_FLAG)
VALUES
( <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.BRANCH#">,
<cfqueryparam cfsqltype="cf_sql_char" value="#form.CONTACT_NAME#">
<cfqueryparam cfsqltype="cf_sql_char" value="#form.NEED_FLAG#">
</cfquery>
</body>
</html>
Thanks,
Jeannezer0Weaver wrote:
<!--- This works until I add the radio button to the insert --->
<!--- Insert the new record --->
<cfquery datasource="AXMISC_SURVEY">
INSERT INTO SURVEY.CAF_SURVEY
(BRANCH, CONTACT_NAME, NEED_FLAG)
VALUES
( <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.BRANCH#">,
<cfqueryparam cfsqltype="cf_sql_char" value="#form.CONTACT_NAME#">
<cfqueryparam cfsqltype="cf_sql_char" value="#form.NEED_FLAG#">
</cfquery>
</body>
</html>
Hi Jeanne,
Thanks for posting the relevant information, but you forgot to mention what _is_ happening now ;-) Does an error occur, and if so what is the error message, etcetera.. ? But my guess would be you are missing a comma in the VALUES (...) clause:
VALUES
<cfqueryparam cfsqltype="cf_sql_varchar" value="#form.BRANCH#"> ,
<cfqueryparam cfsqltype="cf_sql_char" value="#form.CONTACT_NAME#"> , <!--- should be a comma here --->
<cfqueryparam cfsqltype="cf_sql_char" value="#form.NEED_FLAG#"> -
How to insert radio button in application?
Hi tecs,
I want to insert the radio buttons in my form. But when i am writing
<h:selectOneRadio id="fileBackup" <f:selectItem itemValue="1" itemLabel="Installation"/>
<f:selectItem itemValue="2" itemLabel="Folder/File" />
<f:selectItem value="#{backup.fileBackup}" />
</h:selectOneRadio>
i m getting error-
javax.servlet.ServletException: javax.servlet.jsp.JspException: "{2}" Conversion Error setting value ''{0}'' for ''{1}''.
plz tell me how to solve this ? it wud b really nice if some one can tell me the coding of jsp & corresponding bean.
Thnx in advance.<h:selectOneRadio id="fileBackup" value="#{pc_formname.varname}"><f:selectItem itemValue="1" itemLabel="Installation"/>
<f:selectItem itemValue="2" itemLabel="Folder/File" />
<f:selectItem itemvalue="#{backup.fileBackup}" itemLabel="Folder/Filetemp" />
</h:selectOneRadio>
-- value binding expression should be of same type as itemvalue-- raju -
Add more radio buttons to quiz template
I am using the quiz template to make a quiz. I want more than
2 radio buttons ,how can I add them.quote:
Originally posted by:
umr
I am using the quiz template to make a quiz. I want more than
2 radio buttons ,how can I add them.
Hello, if you are using MX 2004 (probably is the same for
other versions) then you have to do like this:
Go to keyframe where you see the radio buttons, right click
in the radio buttons area and select "edit in place", you will get
inside that clip and now you can copy/paste the radio buttons in
the stage to create more buttons. -
Hello:
I have Adobe Acrobat 9 Standard (9.3.1), and I use the form tool to insert radio buttons (and other fields). While I am able to do most of the things I need to do, I cannot figure out (I have read Help) how to change the size of the radion buttons (or other fields; I can change the text size in text fields, though). The radio buttons are oversized. I assume there must be away to change their sizes. Would appreciate help on this issue.
Regards,
Hans LI figured it out. I just realized that I had seen the size-change pattern around teh fields when I moved the cursor on top of the field.
Best regards,
Hans L -
Adding function code dynamically for radio buttons
Hi Experts,
I have two radio buttons in standard screen which when clicked my custom logic should be executed.
The issue here is the standard screen radio button does not have a Fcode assigned in the field properties because of this no event is triggered when the radio button is selected.
Thank You,
Anupama.Hi anu,
Try the following procedure,
- Combine all the radio buttons into a group. T
- Create a common function code for all the radio buttons. F
- Assign all the radio buttons to the same modification group. F
- Enclose all entire radio button in a frame. F
Also check the website it help u as u need,
[http://help.sap.com/saphelp_nw04/Helpdata/EN/3d/c3b23782a9cc68e10000009b38f8cf/content.htm]
Hope it helps u....
Regards,
Annevit -
Standard Radio Button Tabs missing in Material Master
Dear Experets,
We have Upgraded from 4.5 to Ecc 6.0. We are finding an issue in Material Master.
When we create a material with the required selected Views and maintaing the datas like Basic Data and other Views, we usually have standard Radio button Tab to shift over from one View to another View. I am not able to find those Views either in Creation of Material Master, Or Change or Display ?
Can any one suggest on this? Is there any Patch is missing or any configuration setting has to be carried out ?
Please Suggest your valuable inputs.
Best Regards
Javeed
Edited by: JAVEED AHAMED on Apr 29, 2010 10:40 AMHi,
Check sap note 107404.
Regards
Ankur -
Why are my radio buttons not renaming in pages spawned from a hidden template?
Hi Everyone,
I am new to PDF forms, and have never before tried to use JavaScripts. However, I have been able to learn a lot and I have followed many threads and have almost accomplished what I want, but have hit a block. I don't understand the JavaScript well enough to locate my problem. Your help is greatly appreciated.
SYSTEM SPECS: Adobe Acrobat X Pro Mac OS 10.8.5
WHAT I WANT: To create a multi-page (100 pages) form for grading student assignments. Each page must have the same fields, but as each page belongs to a new student, it needs to have different values in the fields on different pages. Each page has 4 questions to score, with 4 score possibilities for each question (0, 1, 2, 3 points), and so only one score should be able to be selected per question.
WHAT I HAVE DONE, following the directions on this thread (Re: Multiple pages form) ):
1) Created a form with a field for student name and 4 sets of radio buttons (Labeled Questions 1-4, with score choices 0-3).
2) Placed a button at the bottom of the page that will spawn a new page and rename fields.
3) Defined this page as a template.
4) Spawned a page.
5) Made the template "hidden."
THE PROBLEM: Steps 1-4 above work perfectly--as long as the template (named "Form") is visible, when I click the button, a new page generates and the student name field renames the fields on Page 2 to "P2.Form.Student ID #" and the radio buttons rename to "P2.Form.Question 1" etc. Each time I press the button, it renames everything appropriately.
However, if I hide the template, then when I click the button on page 1, the fields on Page 2 are renamed to "P1.Form.StudentID ##1." AND THE RADIO BUTTONS DO NOT RENAME. They get the name "P1.Form.Question 1" etc. So the student name field did rename in a way that allows me to enter a new name on each page, but it isn't actually reflecting that I am on page 2, and as for the radio buttons, at that point, I cannot enter different scores on different pages because they are all part of the same radio button grouping.
If I use check boxes, they rename similarly to the student ID field, but I don't want to use check boxes because I want to return one possible score value for each question for tabulating the data. I don't want to leave the template visible because when I distribute this form to other graders, they may enter values into the template page without realizing it, and then when the spawn forms they will have wrong data already entered.
Here is the script that I have set as the button's Mouse Up script:
// Specify the name of the template
var template_name = "Form";
// Get a reference to the template
var t = getTemplate(template_name);
// Add a new page based on the template
if (t !== null) {
t.spawn({
nPage: numPages, // Add the new page to end of document
bOverlay: false, // Create a new page, not an overlay
bRename: true // Rename the fields
} else {
app.alert("The template named \'" + template_name + " does not exist in this document.", 1);
Thanks for your helpHi again GKaiseril,
If you have the time, would you be able to tell me how to do that? I tried just changing the page number of the template page to zero, but I get the error "Please enter a starting value of at least 1." I definitely noticed that all of the discussions about similar subject do all say to somehow put the first page of the form before the template and then hide the template, but I don't think that I know how to do that. I read your response on this discussion "Re: Self replicating form pages in Acrobat Pro 9 (Win XP)" before I ever started this discussion, but have to admit that I can't figure out how to follow your advice "When I create a from that uses a template, I create the template and then spawn the 1st page of the form before the template and then work out the scripting for the 1st page and template and then hide the template."
Thanks -
Weird Radio button issue on Insert/Update form
I recently installed Dreamweaver CS4 and am having a heck of a time with radio buttons on my Dynamic Insert/Update form.
For some reason, when I update a record, the radio button I had previously selected, is NOT checked. However, the value is in the mySQL db.
I've tried this in several different folders, thinking there was a conflict (css, js or whatever) but have had the same issue every time. I even updated my DDT includes folder but still no luck.
Has anyone had an issue like this with Dreamweaver CS4 and know how to solve it?
Also, I should probably add the Dreamweaver CS4 has crashed at least 3 times per day since I installed it less then a week ago. My computer easily meets the required specs (3.39GHz, 2GB RAM, 75GB HardDrive). Something is obviously wrong. Whether its my computer or CS4, I'm not sure.
Any help is appreciated!
Thanks!
Peter TOK, I've figured out what the issue is but not why.
See the code below. For some reason, where it should be {echo "checked";} its {echo "@@checked@@";}
Anyone else run into this situation?
<td><div>
<input <?php if (!(strcmp(KT_escapeAttribute($row_rssample_sam['answer_sam']),"1"))) {echo "@@checked@@";} ?> type="radio" name="answer_sam_<?php echo $cnt1; ?>" id="answer_sam_<?php echo $cnt1; ?>_1" value="1" />
<label for="answer_sam_<?php echo $cnt1; ?>_1">Yes</label>
</div>
<div>
<input <?php if (!(strcmp(KT_escapeAttribute($row_rssample_sam['answer_sam']),"0"))) {echo "@@checked@@";} ?> type="radio" name="answer_sam_<?php echo $cnt1; ?>" id="answer_sam_<?php echo $cnt1; ?>_2" value="0" />
<label for="answer_sam_<?php echo $cnt1; ?>_2">No</label>
</div>
<?php echo $tNGs->displayFieldError("sample_sam", "answer_sam", $cnt1); ?></td> -
How to implement custom lov button without the standard template.fmb?
hello,
i am developing a application using oracle forms 10g. i can't use the standard template.fmb because my application does not run in ebs. there comes the problem: i want to implement the lov button function like the template does, such as :
1. when the text item get focus, lov button display.
2. when the text item lost focus, lov button disappear.
3. when scrollbar scrolls, the position of lov button adjust accordingly.
4. there is only one lov button in one form and the lov button was created dynamicly.
i found it's so complex to do this.
anyone can help?Try to change the following setting to true
app.ui.lovButtons=falsein $ORACLE_HOME\forms\java\oracle\forms\registry\registry.dat -
Insert String array as label content in datagrid row through radio button C# wpf?
I have written some code for inserting label at runtime having its content set to a string array and then insert that label into a datagrid row . All of this will initiate when certain radiobuttons are checked. code is working perfectly fine. But i need
to improve this code as i am learning C#, wpf and datagrid. I know there can be a certain way to improve this code.
This code will be a nightmare when there are 50 radiobuttons.
can it be improve and how it can be? if u can explain that will be very kind of you
Xaml Code:
<Grid>
<RadioButton x:Name="rb_1" Content="RadioButton" HorizontalAlignment="Left" Margin="351,85,0,0" VerticalAlignment="Top" GroupName="1" />
<RadioButton x:Name="rb_2" Content="RadioButton" HorizontalAlignment="Left" Margin="351,105,0,0" VerticalAlignment="Top" GroupName="1"/>
<RadioButton x:Name="rb_3" Content="RadioButton" HorizontalAlignment="Left" Margin="351,120,0,0" VerticalAlignment="Top" GroupName="1" />
<RadioButton Content="RadioButton" HorizontalAlignment="Left" Margin="351,159,0,0" VerticalAlignment="Top" GroupName="2" />
<RadioButton x:Name="rb_4" Content="RadioButton" HorizontalAlignment="Left" Margin="351,179,0,0" VerticalAlignment="Top" GroupName="2"/>
<RadioButton Content="RadioButton" HorizontalAlignment="Left" Margin="351,199,0,0" VerticalAlignment="Top" GroupName="2" />
<Button Content="Button" HorizontalAlignment="Left" Margin="713,60,0,0" VerticalAlignment="Top" Width="75" Click="Button_Click_2"/>
<DataGrid x:Name="datagrid_" HorizontalAlignment="Left" Margin="549,85,0,0" VerticalAlignment="Top" Height="253" Width="399" />
<RadioButton Content="RadioButton" HorizontalAlignment="Left" Margin="351,226,0,0" VerticalAlignment="Top" GroupName="3" />
<RadioButton x:Name="rb_6" Content="RadioButton" HorizontalAlignment="Left" Margin="351,246,0,0" VerticalAlignment="Top" GroupName="3"/>
<RadioButton Content="RadioButton" HorizontalAlignment="Left" Margin="351,266,0,0" VerticalAlignment="Top" GroupName="3" />
<RadioButton Content="RadioButton" HorizontalAlignment="Left" Margin="351,298,0,0" VerticalAlignment="Top" GroupName="4" />
<RadioButton x:Name="rb_8" Content="RadioButton" HorizontalAlignment="Left" Margin="351,318,0,0" VerticalAlignment="Top" GroupName="4"/>
<RadioButton Content="RadioButton" HorizontalAlignment="Left" Margin="351,338,0,0" VerticalAlignment="Top" GroupName="4" />
</Grid>
Code Behind:
public partial class MainWindow : Window
public MainWindow()
InitializeComponent();
DataTable dt;
DataRow dr;
string[] str = new string[4];
int location = 0;
int count = 0;
private void Window_Loaded(object sender, RoutedEventArgs e)
dt = new DataTable("emp");
DataColumn dc1 = new DataColumn("Factors", typeof(string));
DataColumn dc2 = new DataColumn("Non_Compliant", typeof(string));
dt.Columns.Add(dc1);
dt.Columns.Add(dc2);
datagrid_.ItemsSource = dt.DefaultView;
private void Button_Click_2(object sender, RoutedEventArgs e)
if (count >= 1)
datagrid_.ItemsSource = dt.DefaultView;
dt.Clear();
str[0] = "Load Path1";
str[1] = "Load Path2";
str[2] = "Load Path3";
str[3] = "Load Path4";
int j = 0;
if (rb_2.IsChecked == true)
j = 0;
int k = 0;
dr = dt.NewRow();
Label label = new Label();
label.Height = 28;
label.Width = 100;
label.HorizontalAlignment = HorizontalAlignment.Center;
label.VerticalAlignment = VerticalAlignment.Center;
label.Content = str[j];
dr[k] = label.Content;
dt.Rows.Add(dr);
datagrid_.ItemsSource = dt.DefaultView;
location += 34;
if (rb_4.IsChecked == true)
j = 1;
int k = 0;
dr = dt.NewRow();
Label label = new Label();
label.Height = 28;
label.Width = 100;
label.HorizontalAlignment = HorizontalAlignment.Center;
label.VerticalAlignment = VerticalAlignment.Center;
label.Content = str[j];
dr[k] = label.Content;
dt.Rows.Add(dr);
datagrid_.ItemsSource = dt.DefaultView;
location += 34;
if (rb_6.IsChecked == true)
j = 2;
int k = 0;
dr = dt.NewRow();
Label label = new Label();
label.Height = 28;
label.Width = 100;
label.HorizontalAlignment = HorizontalAlignment.Center;
label.VerticalAlignment = VerticalAlignment.Center;
label.Content = str[j];
dr[k] = label.Content;
dt.Rows.Add(dr);
datagrid_.ItemsSource = dt.DefaultView;
location += 34;
if (rb_8.IsChecked == true)
j = 3;
int k = 0;
dr = dt.NewRow();
Label label = new Label();
label.Height = 28;
label.Width = 100;
label.HorizontalAlignment = HorizontalAlignment.Center;
label.VerticalAlignment = VerticalAlignment.Center;
label.Content = str[j];
dr[k] = label.Content;
dt.Rows.Add(dr);
datagrid_.ItemsSource = dt.DefaultView;
location += 34;
count++;@Usamakhan1990,
Use usercontrol with label and checkbox is reasonable for a datagrid control if you don't want to have too much code for those radio buttons. So I agree with andy here with that usercontrol.
So is it required that your radiobutton should be outside the datagrid?
Anyway, I think you already know that you can bind data to columns yourself. So please check the following thread:
http://stackoverflow.com/questions/22922533/how-do-i-automagically-bind-a-string-array-to-a-wpf-datagrid
<DataGrid Name="_dataGrid" Grid.Row="0" AutoGenerateColumns="False">
<DataGrid.Columns>
<DataGridTextColumn Header="Column 1" Binding="{Binding [0]}"/>
<DataGridTextColumn Header="Column 2" Binding="{Binding [1]}"/>
</DataGrid.Columns>
</DataGrid>
Or define the columns from code, in case you have dynamic number of columns, for example :
string[][] array = fs.CSVToStringArray();
for (int i = 0; i < array[0].Length; i++)
var col = new DataGridTextColumn();
col.Header = "Column " + i;
col.Binding = new Binding(string.Format("[{0}]", i));
_dataGrid.Columns.Add(col);
this.ExternalData._dataGrid.ItemsSource = array;
And for Radio button part, please see here:
http://stackoverflow.com/questions/397556/how-to-bind-radiobuttons-to-an-enum
Best regards,
Barry
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. -
How to add the BexAnalyser as standard radio button to the add-ins?
HI All,
how to add the BexAnalyser as standard radio button to the add-ins.
Thanks
VasuWhat do you want to do? Pls give some more details.
-
When installing my new HP printer I received the following error message when I inserted the software install disk: "The disk you inserted was not readable by this computer" with 2 radio buttons "Ignore" or "reject" I was able to eject the disk but the message remains. Now every time I start up the printer this error message pops up on my computer. I have since used the disk drive successfully for music CD's etc. How can I get rid of this message?
PRAM RESET
Zap the PRAM
Shut down the computer.
Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
Turn on the computer.
Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
Hold the keys down until the computer restarts and you hear the startup sound for the second time.
Release the keys. -
Radio button tags inserted incorrectly
When creating a radio button in Dreamweaver CS5 the ID value entered is inserted in the id tag and the value tag. The name value gets set to radio.
Is this a bug? Has anyone else seen this?You should have read my tips about widgets:
http://lilybiri.posterous.com/using-captivate-widgets-some-tips
And if you want a complete descriptive list:
http://lilybiri.posterous.com/widgets-in-captivate-list
Lilybiri -
BAPI to select a radio button in subscreen of standard screen
Hi All,
I have a requirement ,Please help me in solving this.
I have created a subscreen in sales order which contains 4 radio buttons.
Now i need to write a BAPI to change to radio button B from radio button A.
Can some one explain me how to do this.
Thanks in Advance,
Sri.if its only the radio button change write a BDC and update it... if there is some thing else...try using BAPI_CUSTOMERCONTRACT_CHANGE u have EXTENSIONIN in tables tab... search the forums on EXTENSIONIN usage and codeing it...
J@Y
Maybe you are looking for
-
Podcasts no longer downloading overseas
I am writing with a question about iTunes use in Turkey. I am an American living abroad in Turkey and before December 2010 was downloading several US-based podcasts via iTunes to listen to on my iPod touch. Since December, however, many of the podcas
-
Document Language not exported into PDF when viewed in Acrobat Pro 9?
I've been working on making our PDFs accessible, but it looks like the LiveCycle-generated forms are causing some issues. While I can set the Form Locale in LiveCycle ES (8.2.1), generating a PDF from this and viewing it in Acrobat Pro 9 leaves the R
-
I am creating an InDesign book composed of multiple placed PDF files. Whenever I go to export this book as a new print PDF, I keep receiving an error message that says "1 problem (1 failure) was found with a background task: Failed to export the PDF
-
In Internet Explorer I always get the popup options RUN, SAVE, CANCEL. In Firefox I only get SAVE & CANCEL. When I click SAVE a "binary" file gets downloaded but I don't know what I'm supposed to do with that. Thanks for your help
-
Serial number doesn't work with ps cs2
how to reactivate my serial number without going to deativation page for instructions